-
Notifications
You must be signed in to change notification settings - Fork 25
Question: Supported python versions #26
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
Comments
Hey thanks for opening the issue. To answer your question in short python3.8 is supported (currently) so that is a bug The longer answer is that code I write is typically for the newest released version of python or sometimes a version prior depending on when tests are run. Currently I haven't found a good solution to testing on multiple versions of python. Currently I use poetry run pytest which will take whatever version of python poetry is installed under which is 3.10 (I think, I'll likely do the update to 3.11 dance when I have the bandwidth). Tox looks promising though requires each version on my host so I may look to use docker or something similar. Though again this is when I get the time Thanks |
Oh, well... to test with multiple python versions I usually use Docker (locally) and Github Actions (remotely). |
Had a think on this and after spending far too long trying to get docker working with Windows, I've decided to use tox natively... TestingFor testing with the version of python used by poetry use poetry run pytest Alternatively use tox pyproject.toml ...
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
py311
py310
py39
py38
[testenv]
deps = pytest
commands = pytest tests
""" Frustratingly my testing suite would have missed this particular instance as the error is thrown on invocation and I didn't have a clear idea on how to test the |
What are the supported python versions for this package?
In the
pyproject.toml
file I found a reference to python 3.8 in the[tool.poetry.dependencies]
section but I tried to use licensecheck in a pacakge of mine supporting python>=3.8 and it seems that there are issues at least with python 3.8 (while with python 3.9 and 3.10 everything seems to work fine)The text was updated successfully, but these errors were encountered: