Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
python-version: [ "3.12", "3.13" ]
python-version: [ "3.12", "3.13", "3.14" ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Enable long paths in Git (Windows only)
if: runner.os == 'Windows'
run: git config --system core.longpaths true
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
python-version: ['3.11', '3.12', '3.13', '3.14']
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -83,8 +83,8 @@ jobs:
run: python -m pytest --version
- name: Install -us package from PyPI
run: |
if [[ "${{ matrix.python-version }}" == "3.13" ]]; then
# For Python 3.13, install newer tables first and ignore conflicts
if [[ "${{ matrix.python-version }}" == "3.13" || "${{ matrix.python-version }}" == "3.14" ]]; then
# For Python 3.13+, install newer tables first and ignore conflicts
pip install "tables>=3.10.1"
pip install policyengine-us --no-deps
# Install remaining dependencies manually
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.14
6 changes: 6 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- bump: minor
changes:
added:
- Support for Python 3.14
removed:
- Support for Python 3.10 (following SPEC 0 policy)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Information Analysis",
],
description="Core microsimulation engine enabling country-specific policy models.",
Expand All @@ -77,7 +77,7 @@
"policyengine-core=policyengine_core.scripts.policyengine_command:main",
],
},
python_requires=">=3.10",
python_requires=">=3.11",
extras_require={
"dev": dev_requirements,
# Note: For Python 3.13, policyengine-us requires special installation
Expand Down
Loading