Skip to content
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

Exclamation points in build numbers for packages are problematic #908

Closed
2 tasks done
larsoner opened this issue Dec 2, 2024 · 4 comments · Fixed by conda/conda-libmamba-solver#583 or #909
Closed
2 tasks done
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@larsoner
Copy link

larsoner commented Dec 2, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

See this install error in MNE-Installers after the installer is successfully built:

Run sh ./${MNE_INSTALLER_NAME} -b
PREFIX=/home/runner/mne-python/1.8.0_0
Unpacking payload ...
entry_point.py:191: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
entry_point.py:191: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.

Installing base environment...


InvalidMatchSpec: Invalid spec 'https://conda.anaconda.org/conda-forge/linux-64/x264-1%21[16](https://github.com/mne-tools/mne-installers/actions/runs/12121861475/job/33794012776?pr=309#step:5:17)4.3095-h166bdaf_2.tar.bz2 md5=6c99772d483f566d59e25037fea2c4b1': Invalid version '1%21164.3095': invalid character(s)

This is because x264 is in the env and it has build numbers like 1!164.3095.

Additional Context

Windows installer runs but exits without issue despite seeming to have failed (based on the missing activation script that was working previously), macOS fails with a cryptic error. I assume these are all the same error, but it's a bummer the macOS and Windows errors are hidden if that is indeed the case!

It's possible these are also somehow related to the latest release but I doubt it. I'll try stripping the installer down so that x264 isn't included, we'll see...

@jaimergp
Copy link
Contributor

jaimergp commented Dec 2, 2024

Thanks for the report! Interesting that it got URL-escaped 🤔 We'll need to check whether this is a problem in how we are storing the metadata internally or a bug in conda-standalone.

Edit: huh, this could be the new conda-libmamba-solver release... let me look into it.

@jaimergp
Copy link
Contributor

jaimergp commented Dec 2, 2024

Trying a fix in conda/conda-libmamba-solver#583

@jaimergp
Copy link
Contributor

jaimergp commented Dec 4, 2024

conda-libmamba-solver 24.11.1 is now available, which fixes this issue.

@larsoner
Copy link
Author

larsoner commented Dec 4, 2024

Thanks for the quick fix and release @jaimergp !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🏁 Done
2 participants