Skip to content

Updated numpy and ORTOOLS deps#219

Open
nick-fournier wants to merge 7 commits into
ActivitySim:masterfrom
nick-fournier:deps/numpy_2.x
Open

Updated numpy and ORTOOLS deps#219
nick-fournier wants to merge 7 commits into
ActivitySim:masterfrom
nick-fournier:deps/numpy_2.x

Conversation

@nick-fournier

@nick-fournier nick-fournier commented Jul 9, 2026

Copy link
Copy Markdown

Was able to update numpy pretty easily, just needed to update ORTOOLS along with it (which makes me wonder if that would fix the windows/unix divergence issue as well @JoeJimFlood), the only issue is that it failed a CLI test. Will dig into that. @jpn--

@nick-fournier

Copy link
Copy Markdown
Author

Fixed CLI bug but Numpy2.x doesn't play nice with Python <=3.9 via some pytable thing, I suggest we just drop support for 3.9 since ActivitySim also did and add support up to 3.13. @jpn-- @dhensle

@nick-fournier
nick-fournier marked this pull request as ready for review July 9, 2026 23:23
@nick-fournier
nick-fournier marked this pull request as draft July 9, 2026 23:25
@nick-fournier
nick-fournier marked this pull request as ready for review July 9, 2026 23:25
@nick-fournier nick-fournier changed the title Updated numpty and ORTOOLS deps Updated numpy and ORTOOLS deps Jul 10, 2026
@jpn--
jpn-- requested a review from Copilot July 16, 2026 12:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s Python dependency floor/ceiling and dependency versions to support newer NumPy and OR-Tools, and adjusts packaging/CI configuration to match the updated Python ecosystem targets.

Changes:

  • Bumped core dependencies (NumPy to 2.x, OR-Tools to 9.14.x) and expanded the supported Python range to include 3.13.
  • Updated GitHub Actions CI to run tests on Python 3.10–3.13.
  • Restricted setuptools package discovery to populationsim* packages.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Updates Python version constraints, bumps NumPy/OR-Tools dependencies, and narrows package discovery to populationsim*.
.github/workflows/python-package.yml Updates the CI Python test matrix to include Python 3.13 and drop 3.9.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
Comment on lines 18 to +19
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
nick-fournier and others added 4 commits July 16, 2026 11:19
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants