-
-
Notifications
You must be signed in to change notification settings - Fork 36
test_py36_class_syntax_usage
fails on py 3.14.0a6
#65
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
Comments
Changelog: python/mypy_extensions@1.0.0...1.1.0 The `test_py36_class_syntax_usage` test currently fails on Python 3.14. It has been disabled for now. Upstream replaced their `setup.py` why `pyproject.toml` in 6d9c7b756486a654e795095d393bf8206cd11dea [2]. The nix package has been adjusted accordingly. In the same commit, upstream deprecated Python 3.7 support, and nixpkgs doesn't ship 3.5 or older anymore. This means the conditional checking for 3.5 or older can be dropped. The test failure on python 3.11+ [3] was fixed upstream in cd8b0c9c9561d806db4644d772e4ab43279d3d1a [4]. [1] python/mypy_extensions#65 [2] python/mypy_extensions@6d9c7b7 [3] python/mypy_extensions#24 [4] python/mypy_extensions@cd8b0c9
Changelog: python/mypy_extensions@1.0.0...1.1.0 The `test_py36_class_syntax_usage` test currently fails on Python 3.14. It has been disabled for now. Upstream replaced their `setup.py` why `pyproject.toml` in 6d9c7b756486a654e795095d393bf8206cd11dea [2]. The nix package has been adjusted accordingly. In the same commit, upstream deprecated Python 3.7 support, and nixpkgs doesn't ship 3.5 or older anymore. This means the conditional checking for 3.5 or older can be dropped. Upstream also implicitly dropped python 2 support: The now-required flit-core does not support python 2. The test failure on python 3.11+ [3] was fixed upstream in cd8b0c9c9561d806db4644d772e4ab43279d3d1a [4]. [1] python/mypy_extensions#65 [2] python/mypy_extensions@6d9c7b7 [3] python/mypy_extensions#24 [4] python/mypy_extensions@cd8b0c9
This looks like it's related to the PEP 649 implementation in Python 3.14. |
This is because The easiest fix would be to just re-export |
Ideally yes, however support for the keyword-argument syntax was removed in mypy_extensions/tests/testextensions.py Lines 69 to 70 in 9fc7fe0
|
Another fix would be to apply the changes to |
Found while building both
mypy-extensions
1.0.0 and 1.1.0 on NixOS.Building against python 3.14.0a6. Python 3.14 is expected to release 2025-10-07, so there is still time to fix this.
I understand python 3.14 is currently an alpha, but it imo it makes sense to report these things as early as they are found.
The text was updated successfully, but these errors were encountered: