| 1 |
Bug fixes: |
| 2 |
|
| 3 |
- Fixed ``ImportHooks``: it must raise ``ModuleNotFoundError`` |
| 4 |
instead of ``ImportError``. |
| 5 |
|
| 6 |
- Fixed absolute import in ``ImportHooks`` under Python 3. |
| 7 |
|
| 8 |
- Use ``cache_from_source`` in ``ImportManager`` to find out |
| 9 |
``.pyc``/``.pyo`` byte-code files. |
| 10 |
|
| 11 |
- Fixed unmarshalling ``.pyc``/``.pyo`` byte-code files |
| 12 |
in ``ImportManager``. |
| 13 |
|
| 14 |
- Fixed ``Template.webInput``: Use ``urllib.parse.parse_qs`` |
| 15 |
instead of ``cgi.FieldStorage``; Python 3.13 dropped ``cgi``. |
| 16 |
|
| 17 |
- Fixed ``_namemapper.c``: Silent an inadvertent ``TypeError`` exception |
| 18 |
in ``PyMapping_HasKeyString`` under Python 3.13+ |
| 19 |
caused by ``_namemapper`` looking up a key in a non-dictionary. |
| 20 |
|
| 21 |
- Fixed ``_namemapper.c``: Silence ``IndexError`` when testing |
| 22 |
``name[attr]``. Some objects like ``re.MatchObject`` implement both |
| 23 |
attribute access and index access. This confuses ``NameMapper`` because |
| 24 |
it expects ``name[attr]`` to raise ``TypeError`` for objects that don't |
| 25 |
implement mapping protocol. |
| 26 |
|
| 27 |
- Fixed mapping test in ``NameMapper.py``: |
| 28 |
Python 3.13 brough a new mapping type ``FrameLocalsProxy``. |
| 29 |
|
| 30 |
- Fixed another ``RecursionError`` in ``ImportHooks`` under PyPy3. |
| 31 |
|
| 32 |
Tests: |
| 33 |
|
| 34 |
- tox: Run tests under Python 3.13. |
| 35 |
|
| 36 |
CI: |
| 37 |
|
| 38 |
- CI(GHActions): Switch to ``setup-miniconda``. |
| 39 |
|
| 40 |
- CI(GHActions): Run tests under Python 3.13. |
| 41 |
|
| 42 |
Build/release: |
| 43 |
|
| 44 |
- Rename sdist to lowercase; different build tools produce different case. |
| 45 |
This is important because stupid PyPI doesn't ignore sdists |
| 46 |
in different cases but also doesn't allow uploading. |
| 47 |
So we use single case, all lower. Also see PEP 625. |