Skip to content

fix: Support Python 3.11.0 #701

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

Merged
merged 7 commits into from
Dec 4, 2022
Merged

fix: Support Python 3.11.0 #701

merged 7 commits into from
Dec 4, 2022

Conversation

dbanty
Copy link
Collaborator

@dbanty dbanty commented Nov 12, 2022

Python 3.11.0 has breaking changes around repr() and str() for enums, some of which is behavior we were relying on.

This PR fixes enough of the enums to get the tests passing again.

@codecov
Copy link

codecov bot commented Nov 12, 2022

Codecov Report

Merging #701 (0b508da) into main (30d9f56) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #701   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines         1946      1954    +8     
=========================================
+ Hits          1946      1954    +8     
Impacted Files Coverage Δ
...penapi_python_client/parser/properties/property.py 100.00% <ø> (ø)
openapi_python_client/schema/parameter_location.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dbanty dbanty changed the title chore(ci): Add tests for Python 3.11 fix: Support Python 3.11.0 Dec 4, 2022
@dbanty dbanty merged commit 263b083 into main Dec 4, 2022
@dbanty dbanty deleted the python-3.11 branch December 4, 2022 04:16
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