Skip to content

Add CI testing and official support for Python 3.10 #269

@CAM-Gerlach

Description

@CAM-Gerlach

Originally, part of #253 included adding CI testing, and thus official support for Python 3.10, but it turned out in PR #262 that given the conda packages for Pytest aren't officially yet declared compatible (despite the upstream PyPI packages having the 3.10 tag), it would more complex/inefficient than anticipated to add it right away, and so it was deferred to a followup.

As of now, we can either wait (hopefully <= a couple weeks) for the conda Pytest, etc packages to officially add Py3.10 support (simplest and least CI impact, but not immediate), or install the test deps (pytest and pytest-cov, etc) using separate conda/pip commands, using Python 3.10 on conda=no builds (increased CI complexity and runtime, especially with the matrix simplification and the coverage improvements, though allows us to add support right away).

I presume we want to target this for the QtPy 2.0.0 release, so while the former would be preferable, I imagine we'd want to go with the latter if it is not possible in time. @dalthviz , would it be helpful for us to open an issue on the pytest conda feedstock repo about this, and/or somewhere else? I didn't see one last time I checked.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions