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

Wait for celery to return response to request to solve specification #913

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

soapy1
Copy link
Contributor

@soapy1 soapy1 commented Oct 23, 2024

Fixes #615 and #761

Description

The GET /specification endpoint is meant to allow users to specify some conda environment configuration (packages, channels, etc) and return the set of packages for the solved environment.

Previously, this endpoint was broken

$ curl http://localhost:5000/conda-store/api/v1/specification/
Internal Server Error

With this change, users can use the endpoint

$ curl http://localhost:5000/conda-store/api/v1/specification/
{"solve":[{"id":117414,"channel_id":2,"build_number" .... 

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for conda-store ready!

Name Link
🔨 Latest commit c0d7a3a
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/671984c745c60b0008508fd3
😎 Deploy Preview https://deploy-preview-913--conda-store.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@peytondmurray peytondmurray left a comment

Choose a reason for hiding this comment

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

Thanks for this 🚀

@peytondmurray peytondmurray merged commit 3c76cff into conda-incubator:main Oct 24, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

[BUG] - Fix api/v1/specification/ handler
2 participants