Skip to content

Avoid installation of backports.zstd on Python 3.14 in linting deps#12406

Merged
Dreamsorcerer merged 1 commit intoaio-libs:masterfrom
seifertm:add-python-version-constraint-to-lint-backports.zstd
Apr 21, 2026
Merged

Avoid installation of backports.zstd on Python 3.14 in linting deps#12406
Dreamsorcerer merged 1 commit intoaio-libs:masterfrom
seifertm:add-python-version-constraint-to-lint-backports.zstd

Conversation

@seifertm
Copy link
Copy Markdown
Contributor

@seifertm seifertm commented Apr 21, 2026

What do these changes do?

Avoid installation of backports.zstd in lint.in on Python 3.14 and newer.

Otherwise, make test results in the following error message:

ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.13,<3.14; 0.2.0 Requires-Python >=3.10,<3.14; 0.3.0 Requires-Python >=3.9,<3.14; 0.4.0 Requires-Python >=3.9,<3.14; 0.5.0 Requires-Python >=3.9,<3.14; 1.0.0 Requires-Python >=3.9,<3.14; 1.1.0 Requires-Python >=3.9,<3.14; 1.2.0 Requires-Python >=3.9,<3.14; 1.3.0 Requires-Python >=3.9,<3.14
ERROR: Could not find a version that satisfies the requirement backports.zstd (from versions: none)
ERROR: No matching distribution found for backports.zstd

Are there changes in behavior for the user?

No

Is it a substantial burden for the maintainers to support this?

No

Related issue number

N/A

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES/ folder
    • name it <issue_or_pr_num>.<type>.rst (e.g. 588.bugfix.rst)

    • if you don't have an issue number, change it to the pull request
      number after creating the PR

      • .bugfix: A bug fix for something the maintainers deemed an
        improper undesired behavior that got corrected to match
        pre-agreed expectations.
      • .feature: A new behavior, public APIs. That sort of stuff.
      • .deprecation: A declaration of future API removals and breaking
        changes in behavior.
      • .breaking: When something public is removed in a breaking way.
        Could be deprecated in an earlier release.
      • .doc: Notable updates to the documentation structure or build
        process.
      • .packaging: Notes for downstreams about unobvious side effects
        and tooling. Changes in the test invocation considerations and
        runtime assumptions.
      • .contrib: Stuff that affects the contributor experience. e.g.
        Running tests, building the docs, setting up the development
        environment.
      • .misc: Changes that are hard to assign to any of the above
        categories.
    • Make sure to use full sentences with correct case and punctuation,
      for example:

      Fixed issue with non-ascii contents in doctest text files
      -- by :user:`contributor-gh-handle`.

      Use the past tense or the present tense a non-imperative mood,
      referring to what's changed compared to the last released version
      of this project.

@seifertm seifertm force-pushed the add-python-version-constraint-to-lint-backports.zstd branch from dfe9f2a to 51f7f09 Compare April 21, 2026 16:16
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.92%. Comparing base (129ef25) to head (51f7f09).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12406   +/-   ##
=======================================
  Coverage   98.92%   98.92%           
=======================================
  Files         134      134           
  Lines       46741    46741           
  Branches     2429     2429           
=======================================
  Hits        46239    46239           
  Misses        373      373           
  Partials      129      129           
Flag Coverage Δ
CI-GHA 98.98% <ø> (ø)
OS-Linux 98.72% <ø> (-0.01%) ⬇️
OS-Windows 96.98% <ø> (ø)
OS-macOS 97.88% <ø> (-0.01%) ⬇️
Py-3.10.11 97.39% <ø> (ø)
Py-3.10.20 97.86% <ø> (-0.01%) ⬇️
Py-3.11.15 98.11% <ø> (-0.01%) ⬇️
Py-3.11.9 97.65% <ø> (-0.01%) ⬇️
Py-3.12.10 97.74% <ø> (+<0.01%) ⬆️
Py-3.12.13 98.20% <ø> (-0.01%) ⬇️
Py-3.13.13 98.45% <ø> (+<0.01%) ⬆️
Py-3.14.4 98.51% <ø> (+<0.01%) ⬆️
Py-3.14.4t 97.51% <ø> (ø)
Py-pypy3.11.15-7.3.21 97.35% <ø> (ø)
VM-macos 97.88% <ø> (-0.01%) ⬇️
VM-ubuntu 98.72% <ø> (-0.01%) ⬇️
VM-windows 96.98% <ø> (ø)
cython-coverage 38.08% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 21, 2026

Merging this PR will not alter performance

✅ 67 untouched benchmarks
⏩ 4 skipped benchmarks1


Comparing seifertm:add-python-version-constraint-to-lint-backports.zstd (51f7f09) with master (129ef25)2

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on master (dbb9a14) during the generation of this report, so 129ef25 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@Dreamsorcerer Dreamsorcerer added the backport-3.14 Trigger automatic backporting to the 3.14 release branch by Patchback robot label Apr 21, 2026
@Dreamsorcerer Dreamsorcerer merged commit b0601d6 into aio-libs:master Apr 21, 2026
45 of 47 checks passed
@patchback
Copy link
Copy Markdown
Contributor

patchback Bot commented Apr 21, 2026

Backport to 3.14: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.14/b0601d64c65b1f7ac4823e3c6ef630bc4e0b8890/pr-12406

Backported as #12407

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

Dreamsorcerer pushed a commit that referenced this pull request Apr 21, 2026
…std on Python 3.14 in linting deps (#12407)

**This is a backport of PR #12406 as merged into master
(b0601d6).**

Co-authored-by: Michael Seifert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-3.14 Trigger automatic backporting to the 3.14 release branch by Patchback robot bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants