diff --git a/.github/workflows/code_changes.yaml b/.github/workflows/code_changes.yaml index 33fc437a..a21830f9 100644 --- a/.github/workflows/code_changes.yaml +++ b/.github/workflows/code_changes.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.14' - name: Install package run: uv pip install -e .[dev] --system diff --git a/.github/workflows/pr_code_changes.yaml b/.github/workflows/pr_code_changes.yaml index aa03bc02..b6284335 100644 --- a/.github/workflows/pr_code_changes.yaml +++ b/.github/workflows/pr_code_changes.yaml @@ -34,7 +34,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.14' - name: Install package run: uv pip install -e .[dev] --system diff --git a/.github/workflows/versioning.yaml b/.github/workflows/versioning.yaml index a30a0e47..6b1fc75a 100644 --- a/.github/workflows/versioning.yaml +++ b/.github/workflows/versioning.yaml @@ -25,7 +25,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.13 + python-version: 3.14 - name: Build changelog run: pip install yaml-changelog && make changelog - name: Preview changelog update @@ -49,7 +49,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.14' - name: Install package run: uv pip install -e .[dev] --system - name: Install policyengine diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..3767b4b1 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.14 \ No newline at end of file diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29b..e6a81e5b 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,6 @@ +- bump: minor + changes: + added: + - Support for Python 3.14 + removed: + - Support for Python 3.10 (following SPEC 0 policy) diff --git a/pyproject.toml b/pyproject.toml index 251a2d68..b4e6ca0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,15 @@ authors = [ {name = "PolicyEngine", email = "hello@policyengine.org"}, ] license = {file = "LICENSE"} -requires-python = ">=3.13" +requires-python = ">=3.13,<3.15" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Operating System :: POSIX", + "Programming Language :: Python", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] dependencies = [ "sqlalchemy>=2.0.0", "sqlmodel>=0.0.21",