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

No more python 3.7, add python 3.11 #224

Merged
merged 6 commits into from
Nov 25, 2022
Merged

No more python 3.7, add python 3.11 #224

merged 6 commits into from
Nov 25, 2022

Conversation

wwade
Copy link
Owner

@wwade wwade commented Nov 24, 2022

No description provided.

The `pipes` module is deprecated starting in python 3.11.
It seems that pylint has a submarine dependency on `wrapt` and starts to fail on
python 3.11, so add it explicitly to the dev targets in the Pipfile.
If it's called "testEnv" then pytest tries to run it as a test, but then it gets
confused as to why it's returning a value and issues a warning.

We don't want to run it since it's just a test helper, so rename it.
@wwade wwade force-pushed the py311 branch 3 times, most recently from 231646f to e2f675e Compare November 25, 2022 23:31
wwade and others added 3 commits November 25, 2022 15:38
There seems to be a problem with mock in python3.11 and mocking out
socket.gethostname, so I just added a wrapper function inside the plugins module that
I'm mocking instead.
Note: they expect (and require) that they're run from inside a virtualenv.

Typical:

    pipenv run make all
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.

None yet

1 participant