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

Python 3.12 support #14

Merged
merged 3 commits into from
Nov 6, 2023
Merged

Python 3.12 support #14

merged 3 commits into from
Nov 6, 2023

Conversation

jairhenrique
Copy link
Contributor

  • Add support to python 3.12
  • Fix code warnings
inflector/languages/base.py:48: SyntaxWarning: invalid escape sequence '\/'
  return  re.sub('[^A-Z^a-z^0-9^\/]+', '_', \
inflector/languages/base.py:49: SyntaxWarning: invalid escape sequence '\d'
  re.sub('([a-z\d])([A-Z])', '\\1_\\2', \

@ixmatus
Copy link
Owner

ixmatus commented Nov 6, 2023

@jairhenrique can you remove 2.7 from the test matrix? I think 2.7 is long unsupported at this point and it's fine to no test against it anymore.

@jairhenrique
Copy link
Contributor Author

@ixmatus done!

@ixmatus ixmatus merged commit d0f014d into ixmatus:master Nov 6, 2023
16 checks passed
@paulcwatts
Copy link

Is it possible to get a new release with this?

@jairhenrique jairhenrique deleted the python312 branch December 1, 2023 18:55
@billy-doyle billy-doyle mentioned this pull request Jan 9, 2024
@ixmatus
Copy link
Owner

ixmatus commented Jan 12, 2024

@paulcwatts I released to pypi: https://pypi.org/project/Inflector/3.1.1/.

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.

3 participants