test: py3.14
Pull Request Test Coverage Report for Build 19657176033
Details
- 68 of 80 (85.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.9%) to 98.7%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| plum/alias.py | 68 | 80 | 85.0% |
| <!-- | Total: | 68 | 80 |
| Totals | |
|---|---|
| Change from base Build 19631543372: | -0.9% |
| Covered Lines: | 1291 |
| Relevant Lines: | 1308 |
💛 - Coveralls
@wesselb I don't know how to resolve this serious problem.
Looking at https://github.com/python/cpython/blob/425f24e4fad672c211307a9f0018c8d39c4db9de/Objects/unionobject.c#L279 I kind of doubt the union alias functionality can continue to work this way. A potential alternative would be if beartype could dynamically generate TypeAliasType of the union and swap it in-place by modifying the function's annotations.
Meanwhile can I make this a no-op for Python 3.14+?
Meanwhile can I make this a no-op for Python 3.14+?
Absolutely. Let's do this for now until we figure out whether this is still possible for 3.14+.
Fully functional until py3.14 then they turn into deprecated no-ops.
Tests need adjustment
I can work on this after #179
@nstarman that would be amazing! :)