Skip to content

Test/frozen package version#1055

Merged
skirpichev merged 12 commits intompmath:masterfrom
FlurinArner:test/frozen_package_version
Mar 7, 2026
Merged

Test/frozen package version#1055
skirpichev merged 12 commits intompmath:masterfrom
FlurinArner:test/frozen_package_version

Conversation

@FlurinArner
Copy link
Copy Markdown
Contributor

@FlurinArner FlurinArner commented Mar 2, 2026

closes #1044

@skirpichev skirpichev self-requested a review March 2, 2026 13:55
@skirpichev skirpichev added this to the 1.5 milestone Mar 2, 2026
Copy link
Copy Markdown
Collaborator

@skirpichev skirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see some comments.

Test is quick enough, so please also add it to the "needs" list of the tests job.

Flurin Arner added 3 commits March 5, 2026 09:44
- Add comment referencing issue
- Use 'mktemp' for the temporary directory
- Remove '--quiet' and install all dependencies in one step
- Remove redundant comments
@skirpichev skirpichev self-requested a review March 5, 2026 08:52
FlurinArner and others added 3 commits March 5, 2026 17:42
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
- Working directory independent root directory for mpmath
- Remove *.spec from initial clean up (legacy from pyinstaller before mktemp usage)
- Update echo and remove redundant comments
@skirpichev skirpichev self-requested a review March 6, 2026 12:50
Copy link
Copy Markdown
Collaborator

@skirpichev skirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did some final edits, instead of trying to do yet another review turn, sorry.

Now looks good for me.

@skirpichev skirpichev merged commit 45f5adb into mpmath:master Mar 7, 2026
14 checks passed
@FlurinArner
Copy link
Copy Markdown
Contributor Author

I did some final edits, instead of trying to do yet another review turn, sorry.

That's good for me! Thanks for the positive feedback and quick resolution.

Just to be sure (since you moved the venv creation and activation to after installing the tarball), I re-tested the test_version_frozen.sh against v1.4.0 and can confirm that it would have failed. Now on master (after #1048) the test succeeds. 👍

@FlurinArner FlurinArner mentioned this pull request Mar 9, 2026
skirpichev added a commit to skirpichev/mpmath that referenced this pull request Mar 10, 2026
Add bash script to test package version in a frozen application version and a separate CI job to run it.  Closes mpmath#1044.

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
(cherry picked from commit 45f5adb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mpmath 1.4.0 breaks Frozen Applications due to importlib.metadata usage

2 participants