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

conda.exceptions.InvalidSpecError: Invalid spec: =20190808 #3915

Closed
atabbal opened this issue Mar 26, 2020 · 7 comments
Closed

conda.exceptions.InvalidSpecError: Invalid spec: =20190808 #3915

atabbal opened this issue Mar 26, 2020 · 7 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@atabbal
Copy link

atabbal commented Mar 26, 2020

I have a rather complex build workflow that I’m still investigation. However, here’s what I know:

It uses conda, conda-build, conda-build-all, and miniconda to create python environments from meta.yaml files.

These are large (>100 packages) meta files that result in a >400 library environment.

Admittedly, it’s a miracle that conda ever resolves a combination that works together.

Starting last week (12-March-2020) the build started failing with a [not-very-helpful] message:
conda.exceptions.InvalidSpecError: Invalid spec: =20190808

It is not using he latest conda version and updating isn’t straightforward (multiple build scripts, systems, etc.) I know the whole thing need to be re-engineered however, that’s not my first choice right now.

Versions used:

conda-4.3.34-py36_0 ...
conda-build-2.1.18-py36_0 ...
conda-build-all-1.1.1-py36_1 ...
conda-env-2.6.0-0 ...
conda-verify-3.1.1-py36_1000 ...

Any suggestion as to how to troubleshoot and fix this error? 

@atabbal
Copy link
Author

atabbal commented Mar 31, 2020

@msarahan -- what information would help the community debug or provide suggestions?

@Kethaias
Copy link

Kethaias commented Apr 8, 2020

We are experiencing the same issue with our environment. There seem to be a number of posts with this exact same error message, but none have been resolved yet.

@jjhelmus
Copy link
Contributor

jjhelmus commented Apr 8, 2020

@atabbal conda 4.3.34 and conda-build 2.1.18 are both very old, can you try updating to a newer versions and see if the problem persists?

@bklaas
Copy link

bklaas commented Apr 17, 2020

Also seeing this error frequently. We've got a multi-user shared conda (4.3.22) installation in production.

Though I'm resigned it may be our only option, upgrading is not a simple path for us. I think this should be considered a regression against previously working versions of conda.

@Kethaias
Copy link

While certainly not ideal, we were able to get a workaround working.

We installed a newer version of conda in a different location. It seems that if the environment is activated with the newer version of conda (even if the older one was the one which created it) installs are fully functional again.

@bklaas - Not sure if this would be any easier for you than upgrading the base install to a newer version; I know it was for us

@mingwandroid
Copy link
Contributor

Please stop making your computing environs so rigid that you are stuck on very old, unsupported software. Design updates in from the start and assign time to perform the updates.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Mar 28, 2023
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Apr 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 27, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
Archived in project
Development

No branches or pull requests

5 participants