conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
149 stars 50 forks source link

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

Closed soapy1 closed 4 weeks ago

soapy1 commented 4 weeks ago

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

netlify[bot] commented 4 weeks ago

Deploy Preview for conda-store ready!

Name Link
Latest commit c0d7a3ae2c044e6b0978174f4a0bcfadd7cd46d9
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.