-
Notifications
You must be signed in to change notification settings - Fork 198
Update Python support to 3.10+ #198
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
Changes from all commits
968b579
5eb9d0c
e6f7f4b
62cdae0
e976fb1
04c90bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| nose | ||
| pytest | ||
| coverage | ||
| hacking | ||
| mock |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| [tox] | ||
| minversion = 1.6 | ||
| envlist = py{36,37,38,39,310,311,312},pypy,pep8 | ||
| envlist = py{310,311,312,313,314},pep8 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is pypy removed?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That looks like an oversight.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @timgraham I tracked it down. It wasn't running in CI so it didn't make sense to run locally. |
||
| skipsdist = True | ||
|
|
||
| [testenv] | ||
|
|
@@ -10,18 +9,15 @@ install_command = pip install -U {opts} {packages} | |
| deps = -r{toxinidir}/requirements.txt | ||
| -r{toxinidir}/test-requirements.txt | ||
| commands = | ||
| nosetests {posargs} | ||
| pytest {posargs} | ||
| python -c 'import memcache; memcache._doctest()' | ||
|
|
||
| [tox:jenkins] | ||
| downloadcache = ~/cache/pip | ||
|
|
||
| [testenv:pep8] | ||
| commands = flake8 | ||
|
|
||
| [testenv:cover] | ||
| commands = nosetests --with-coverage {posargs} | ||
| commands = pytest --cov {posargs} | ||
|
|
||
| [flake8] | ||
| exclude = .venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv,build | ||
| exclude = venv*,.venv*,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*.egg,.update-venv,build | ||
| max-line-length = 119 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning for the change? Because
get_module_constant()is an internal API?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reasoning is that the LLM was probably overzealous in revising the code. Let me revert this one too. Thanks for catching it.
I don't believe we need to be worried about
get_module_constantnot being defined for Java backed pythons.