8000 Removed intermediate python versions in CI matrix by perseoGI · Pull Request #17839 · conan-io/conan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Removed intermediate python versions in CI matrix #17839

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

Merged
merged 11 commits into from
Feb 25, 2025

Conversation

perseoGI
Copy link
Contributor

Changelog: omit
Docs: omit

Remove intermediate python versions in CI to save resources.
The minimum python version still supported by conan is 3.6.

Changes across python versions (simplified):

  • Python 3.8 introduced := (walrus operator).
  • Python 3.9+ deprecated collections.OrderedDict instantiation without from collections.
  • Python 3.13 removes some legacy modules (e.g., cgi and optparse).

We will only test the oldest supported version (3.6) and the newest Python version (3.13).
This pipeline will ensure complete compatibility across all intervals; if a breaking change is introduced, one of the jobs will fail.

Close #17835

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

@perseoGI perseoGI requested a review from czoido February 24, 2025 14:27
@czoido czoido added this to the 2.13.0 milestone Feb 25, 2025
@memsharded memsharded merged commit b53c0af into develop2 Feb 25, 2025
15 checks passed
@memsharded memsharded deleted the core/ci/reduce-ci-matrix branch February 25, 2025 09:24
memsharded added a commit that referenced this pull request Mar 28, 2025
Changelog: omit
Docs: omit


This PR fixes two issues related with conan runners:

1. An error introduced in #17961 where an invalid runner instance were
being returned instead of a runner class

2. Make runner tests run again in GitHub actions. This PR
#17839 forced the github job to
use a custom docker image instead which does not have enabled docker in
docker feature, making pytest to skip all the conan runner tests
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.

Reduce CI matrix on PRs commits
4 participants
0