Update Python version to 3.10+ #21
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ok so I did some more looking into the issue since I was a bit puzzled/bothered by not understanding how PyPI packaging works.
Apparently the
'Programming Language :: Python :: 3'specification is just a general specifier for Python 3 compatibility. So nothing too odd about that, left it there as is.I added a requirement : require 3.10 or above.
I also deliberately nuked my own
.venvand purposely created using Python 3.10(think it is fairly reasonable since the project inception was within a year? And 3.10 dates back to 2021, but still wanted to keep the requirement as minimum as possible)
I removed the other dependencies I had (updated the
.gitignore) and just used thesetup.pyto get the dependencies.The
ruff.tomlis just a local linter spec to avoid it from complaining about stuff you had mentioned to keep maintainability (less moving around, easy copy-pastable code)With all this in, I tested the

|pipe notation, and it seems to not be complaining.Further, I am explicitly seeing linter warnings now (further confirming that it recognizes I am using a 3.10+ python now)
But I might need your assistance to try and confirm beforehand if this looks okay.
Since it was always compiling and running without problems, I cant be 100% sure it is fine.
Also feel free to bump up the version to 3.13 if that is fine by you. I just wanted to keep it minimal as possible, but 3.13 should be probably fine.
"Programming Language :: Python :: 3.13"classifier just indicates that it is known/confirmed to work with 3.13