Modernize packaging and continuous integration - #62
Merged
Conversation
waddell
force-pushed
the
maintenance/modern-ci
branch
from
August 14, 2026 15:58
e8da706 to
9e3e723
Compare
8 tasks
…aging details - ci.yml: two Linux legs (Python 3.10 + minimum deps via requirements-min.txt constraints, Python 3.14 + latest deps); drop the mac/windows legs and the build/twine/wheel steps; trigger push CI only on main so staging PRs from dev don't run everything twice; quality job now runs ruff only - requirements-min.txt: pip constraints pinning the declared floors for the minimum-deps CI job (numpy held at 1.21.*, since pandas 1.5 predates NumPy 2 and breaks if the resolver pairs them) - pyproject.toml: declare numpy>=1.21; single-source the version from orca.__version__, bumped to 1.9.dev0 to distinguish dev builds from the released 1.8; enable line-length checks (E5); scope the F401/F403 lint ignores to __init__.py files - orca/__init__.py: static __version__ string, so importing from an uninstalled source tree works again - orca.py: finish removing the Python 2 fallback by renaming the getargspec alias to getfullargspec; document that copy_col=False columns no longer write through to the table under pandas 3 copy-on-write - orca/utils/testing.py: remove an unused numpy import - HISTORY.rst: record supported/minimum dependency versions and the pandas 3 copy_col behavior change Verified: all 74 tests pass at the exact floors (Python 3.10, pandas 1.5, NumPy 1.21, PyTables 3.8, PyToolz 0.12) and at latest (Python 3.13, pandas 3.0.5, NumPy 2.5.2); sdist and wheel build as orca-1.9.dev0.
smmaurer
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dependency compatibility policy
We propose setting a floor for dependencies based on the official Python release cycle. Python 3.9 is now EOL, so the next urbansim release will expect Python 3.10+ and associated minimum versions of Pandas, NumPy, etc.
Validation
Refs #63.