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

COMP-325 Add support for Python 3.10 #23

Merged
merged 20 commits into from
Apr 19, 2022
Merged

COMP-325 Add support for Python 3.10 #23

merged 20 commits into from
Apr 19, 2022

Conversation

rbrazinskas
Copy link
Contributor

No description provided.

Current pinned versions of testing dependencies do not support Python v3.10 and need to be upgraded, specifically, mypy v0.812 and its sub-dependency typed-ast v1.4.3. Use the opportunity to upgrade all testing dependencies to the latest available versions
Use Github Actions build matrix feature to specify Python versions
CHANGELOG.rst Outdated Show resolved Hide resolved
@hay-k
Copy link
Contributor

hay-k commented Apr 13, 2022

The line python_requires = ~= 3.9 in setup.cfg should be updated too.

@rbrazinskas rbrazinskas marked this pull request as draft April 13, 2022 07:51
@rbrazinskas
Copy link
Contributor Author

rbrazinskas commented Apr 13, 2022

@hay-k, according to this https://peps.python.org/pep-0440/#compatible-release,

~= 3.9

equals to

>= 3.9, == 3.*

which should cover versions 3.9 and 3.10. Or did I get this wrong?

@hay-k
Copy link
Contributor

hay-k commented Apr 14, 2022

@hay-k, according to this https://peps.python.org/pep-0440/#compatible-release,

~= 3.9

equals to

= 3.9, == 3.*

which should cover versions 3.9 and 3.10. Or did I get this wrong?

Yes, you are correct, no need to change that one

This Tox feature is called "generative section names". It will run directives in all environments that match name pattern of the section
Add link to Tox ticket. If/when implemented it would allow to simplify the construction of Tox test environment names in Github, as Tox would support more formats of how to specify Python version information
These were used for troubleshooting environment setup during development and can now be removed
@rbrazinskas rbrazinskas marked this pull request as ready for review April 19, 2022 12:41
Tox environemtn name is anyway printed later in the logs by Tox itself
Previously the environment variables were used, but they are not needed
@rbrazinskas rbrazinskas merged commit 521052f into iqm-finland:main Apr 19, 2022
@rbrazinskas rbrazinskas deleted the comp-325-add-support-for-python310 branch April 19, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants