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

Move Python version requirement to Python Project Configuration #206

Merged

Conversation

jtrobles-cdd
Copy link
Member

  • Move Python runtime version requirement from Setuptools Configuration (python_requires in setup.py) to Python Project Configuration (requires-python in pyproject.toml).
  • Dependabot previously determined the Python version by parsing setup.py; now it should be able to determine that by parsing the compiled Python requirements files (requirements*.txt). See: dependabot/dependabot-core@5a7d5db
  • Update CI/CD workflows to obtain Python version from file pyproject.toml instead of hardcoding it in the workflow.

- Move Python runtime version requirement from Setuptools Configuration
  (`python_requires` in `setup.py`) to Python Project Configuration
  (`requires-python` in `pyproject.toml`).
- Dependabot previously determined the Python version by parsing
  `setup.py`; now it should be able to determine that by parsing the
  compiled Python requirements files (`requirements*.txt`).
  See: dependabot/dependabot-core@5a7d5db
- Update CI/CD workflows to obtain Python version from file
  `pyproject.toml` instead of hardcoding it in the workflow.
@jtrobles-cdd jtrobles-cdd added the task Task or chore label Feb 11, 2025
@jtrobles-cdd jtrobles-cdd self-assigned this Feb 11, 2025
@jtrobles-cdd jtrobles-cdd requested a review from a team as a code owner February 11, 2025 21:56
@jtrobles-cdd jtrobles-cdd merged commit 53dcd2c into develop Feb 11, 2025
21 checks passed
@jtrobles-cdd jtrobles-cdd deleted the task/move-python-runtime-version-constraint-to-pyproject branch February 11, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Task or chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant