Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update requirements versions and scripts to support 3.11 #1444

Merged
merged 22 commits into from
Feb 6, 2024

Conversation

egparedes
Copy link
Contributor

@egparedes egparedes commented Feb 2, 2024

Update requirements-related scripts and minimum package versions to support for 3.11 and other stability improvements.

Main changes:

  • Fix tomli compatibility with python 3.11
  • Add support for python 3 .11 in package metadata
  • Add new all- extra requirement groups
  • Update minimum versions of: cython, cytoolz, numpy, pybind11, scipy, setuptools, wheel
  • Add jax-cpu and other dependencies to the frozen requirements
  • Replace regular expression hacks with proper requirement constraint parsing using packaging.
  • Remove cog processing of requirements-dev.in by simplifying the specification of the constraints shared with pyproject.toml
  • Rename tox task to update requirements
  • Update developers' documentation on how to update requirements
  • Update ruff configuration

@egparedes egparedes marked this pull request as ready for review February 2, 2024 14:47
@egparedes egparedes marked this pull request as draft February 2, 2024 14:54
@egparedes egparedes marked this pull request as ready for review February 5, 2024 14:00
@egparedes egparedes changed the title build: update requirements update scripts to support 3.11 build: update requirements-related scripts to support 3.11 Feb 5, 2024
@egparedes egparedes changed the title build: update requirements-related scripts to support 3.11 build: Update requirements-related scripts to support 3.11 Feb 5, 2024
@egparedes egparedes changed the title build: Update requirements-related scripts to support 3.11 build: Update requirements versions and scripts to support 3.11 Feb 6, 2024
@egparedes egparedes requested a review from havogt February 6, 2024 09:54
@@ -67,6 +67,18 @@ repos:
hooks:
- id: black

# - repo: https://github.com/charliermarsh/ruff-pre-commit
Copy link
Contributor

Choose a reason for hiding this comment

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

disabled on purpose?

Copy link
Contributor Author

@egparedes egparedes Feb 6, 2024

Choose a reason for hiding this comment

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

Yes, I would like to enable it in a following PR

@egparedes egparedes merged commit cbc34dd into main Feb 6, 2024
40 checks passed
@havogt havogt deleted the dev-tools-settings branch June 25, 2024 11:45
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