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

Update tox matrix versions #91

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

janbrasna
Copy link
Contributor

Testing only Python versions 3.9–3.11 and Django 3.2+, 4.0.x, 4.2.x and 5.0.x ✅

(To support Python 3.12 a refactor is in the cards unfortunately, migrating away from imp, therefore replacing nose with nose2 or pynose or pytest)

@janbrasna
Copy link
Contributor Author

janbrasna commented Jun 20, 2024

BTW if/when refactoring for 3.12 you also might want to get rid the separate GHA matrix config in ci.yml that needs keeping in sync with tox.ini, in favour of e.g. tox-gh-actions to simplify maintenance.


Question here is whether you'd like the classifier versions:

"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",

in sync with the versions being in the test matrix now (even that lower/higher might actually be compatible?) — i.e. drop the older Pythons somewhat officially if there are tests no longer ensuring compatibility… I'm only not sure whether that wouldn't warrant a release(?) Feel free to amend the dependencies as you see fit, I'd rather not touch these (only wanted to have more current tests without rewriting).

@@ -27,20 +27,19 @@ def find_version(*file_paths):
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=["Django>=2.2", "requests>=2.21.0"],
install_requires=["Django>=3.2", "requests>=2.26.0"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TL;DR the rest is mostly metadata, so this is really the only impact here — basically moving the requires in line with what is pinned for testing, to have the visibility into confirming it truly working. Feel free to revert if you feel like still keeping the older (and fully working as of now) versions around.

README.rst Show resolved Hide resolved
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.

1 participant