Repository navigation
Drop support for Python 3.10 - #7093
Merged
Merged
Conversation
snejus
force-pushed
the
drop-python-310-support
branch
from
October 10, 2026 08:56
07e9bc0 to
d7f3d3e
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7093 +/- ##
==========================================
- Coverage 80.66% 80.49% -0.18%
==========================================
Files 149 149
Lines 21255 21243 -12
Branches 3282 3281 -1
==========================================
- Hits 17146 17099 -47
- Misses 3278 3315 +37
+ Partials 831 829 -2
🚀 New features to boost your workflow:
|
snejus
force-pushed
the
drop-python-310-support
branch
3 times, most recently
from
October 10, 2026 16:55
4f79bda to
817b7ab
Compare
snejus
force-pushed
the
drop-python-310-support
branch
from
October 10, 2026 20:33
817b7ab to
35035ff
Compare
snejus
force-pushed
the
fix-config-usage-in-tests
branch
from
October 20, 2026 06:14
5a77778 to
2d5b034
Compare
snejus
force-pushed
the
drop-python-310-support
branch
from
October 20, 2026 06:14
35035ff to
722d865
Compare
snejus
force-pushed
the
drop-python-310-support
branch
from
October 21, 2026 17:47
722d865 to
e507549
Compare
Since tomli dependency is removed, the following does not fail any more:
release = pytest.importorskip("extra.release")
snejus
force-pushed
the
drop-python-310-support
branch
from
October 21, 2026 18:03
e507549 to
b7ebf6d
Compare
snejus
added a commit
that referenced
this pull request
Oct 22, 2026
Depends on: #7093 ## Summary Clears out the warnings the test suite emits under Python 3.14, so the output is readable again and real warnings stand out. - **`codecs.open` removed** (`beetsplug/edit.py:429`, `beetsplug/export.py:210`) - deprecated since 3.11, plain `open()` with `encoding=` is the drop-in replacement. Same in `test/plugins/test_edit.py`. - **Class-scoped fixtures declared as `@classmethod`** across 8 test modules - pytest warns when a `scope="class"` fixture is defined as an instance method, since there is no per-test instance to bind to. `self.X` references become `cls.X`. - **`test_bpd.py` fork handling** - 3.14 defaults to `forkserver` on Linux, but the BPD server subprocess needs to inherit the parent's patched `gstplayer` and mock state, so the start method is now forced to `fork` unconditionally. Under `pytest-xdist` the parent is multi-threaded, which 3.14 warns about; ignored at module level with a comment explaining why it's safe here. - **Warnings we can't fix are ignored narrowly** - `asyncio` policy deprecations pinned in `setup.cfg`, `pathlib.PurePath.as_uri()` on the one `test_thumbnails.py` test that exercises it, and legacy string-field deprecations in `test/autotag/test_hooks.py` where the deprecated fields are the thing under test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on: #7094
Summary
Drops Python 3.10 (EOL this month) and makes 3.11 the minimum supported version.
pyproject.toml:requires-python = ">=3.11,<3.15", 3.10 classifier removed, rufftarget-version = "py311".IS_MAIN_PYTHONtracks 3.11.typing_extensionsbackports with the stdlib equivalents now available:Self,Never,ParamSpec,TypeVarTuple,Unpack,NotRequired, plusStrEnumforDuplicateActionanddatetime.UTCinextra/release.py.beets/util/pipeline.pyalso switchesUnpack[A]to the native*Asyntax.typing_extensionsstays where 3.11 isn't enough -TypeVardefaults,override,TypedDict.tomlirelease dependency:extra/release.pyuses stdlibtomllib.beets/dbcore/db.py: remove the deadsys.version_info >= (3, 8) and sqlite_version_info >= (3, 8, 3)guard, socreate_function(deterministic=True)is now unconditional.uv.lockrefresh. Most of the churn is 39python_full_version < '3.11'marker splits collapsing into single resolutions. Ruff goes 0.16.0 -> 0.17.0, which is why two stale# noqa: E501comments disappear.Dependency upgrades