Skip to content

Commit 4046e0e

Browse files
committed
changelog
1 parent 31489c7 commit 4046e0e

5 files changed

Lines changed: 27 additions & 7 deletions

File tree

.github/workflows/maturin_upload_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,4 @@ jobs:
359359
- name: Publish to PyPI
360360
run: uv publish 'wheels-*/*'
361361
env:
362-
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
362+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_PASSWORD }}

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.12.1] - 2026-01-17
11+
12+
### Added
13+
14+
- Add support for Python 3.8 again.
15+
- Figured out how to have CI to test compatibility with Python 3.8 again.
16+
- Wheels for free threaded Python (3.14t).
17+
- Hopefully nothing will break when running without the GIL.
18+
- Wheels are now tested to be installable in CI.
19+
- Specifically useful for abi3 wheels, so we can ensure the wheel is
20+
installable in the oldest Python version we support for each OS/arch combo.
21+
- Integrate `uv` in CI for Python and dependencies management.
22+
23+
### Changed
24+
25+
- Wheels now use the stable abi3 abi instead of building a single wheel for
26+
each version for GIL Python.
27+
- Python tests in CI are now run against all the Python versions we support
28+
instead of relying on whatever Python version the Github runner has.
29+
- `decomp-settings` 0.0.10 is now required.
30+
1031
## [2.12.0] - 2025-10-11
1132

1233
### Added
@@ -678,7 +699,8 @@ Full changes: <https://github.com/Decompollaborate/mapfile_parser/compare/702a73
678699

679700
- Initial release
680701

681-
[unreleased]: https://github.com/Decompollaborate/mapfile_parser/compare/2.12.0...HEAD
702+
[unreleased]: https://github.com/Decompollaborate/mapfile_parser/compare/2.12.1...HEAD
703+
[2.12.1]: https://github.com/Decompollaborate/mapfile_parser/compare/2.21.0...2.12.1
682704
[2.12.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.11.0...2.12.0
683705
[2.11.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.10.0...2.11.0
684706
[2.10.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.9.4...2.10.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you use a `requirements.txt` file in your repository, then you can add
3636
this library with the following line:
3737

3838
```txt
39-
mapfile_parser>=2.12.0,<3.0.0
39+
mapfile_parser>=2.12.1,<3.0.0
4040
```
4141

4242
#### Development version

src/mapfile_parser/mapfile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,8 +1168,7 @@ def resolvePartiallyLinkedFiles(
11681168
# Only read the map if this is a new plf.
11691169
if sect.filepath in knownMaps:
11701170
continue
1171-
other_map_path = resolver(sect.filepath)
1172-
if other_map_path is not None:
1171+
if (other_map_path := resolver(sect.filepath)) is not None:
11731172
knownMaps[sect.filepath] = MapFile.newFromMapFile(other_map_path)
11741173
return self._resolve_plf_impl(knownMaps)
11751174

@@ -1182,8 +1181,7 @@ def _resolve_plf_impl(self, knownMaps: dict[Path, MapFile]) -> MapFile:
11821181
newSeg = seg.cloneNoSectionlist()
11831182

11841183
for sect in seg._sectionsList:
1185-
otherMap = knownMaps.get(sect.filepath)
1186-
if otherMap is not None:
1184+
if (otherMap := knownMaps.get(sect.filepath)) is not None:
11871185
# Each segment of a plf is just a normal elf section
11881186
partialSegment = None
11891187
for x in otherMap._segmentsList:

0 commit comments

Comments
 (0)