Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use CDN to determine availability of newer conda-smithy

See original GitHub issue

The check for being up-to-date with the smithy version seems to go to the package server directly, which leads to the following failure (for the hour or so that the package makes its way through the CDN, during which time the newer version is not actually installable yet!):

RuntimeError: conda-smithy version (3.10.2) is out-of-date (3.10.3) in conda-smithy's environment. Exiting.

That hour is not the most critical thing in the world (though it can be painful when suddenly you cannot rerender just as you need it), but now there was an unlucky confluence of events - basically 3.10.3 was uploaded to the server after hit the CDN, and until this is resolved, it’s impossible to actually install the package and therefore to do any local rerenders.

Ideally, the check should be changed to use the same channel-data as the conda-installer, so that such situations cannot happen again.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

isurufcommented, Jun 16, 2021

Maybe we should add that option to the error message.

isurufcommented, Jun 15, 2021

It’s not impossible. You can do conda-smithy rerender --no-check-uptodate to make the error go away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a CDN? | How do CDNs work?
A content delivery network (CDN) refers to a geographically distributed group of servers that work together to provide fast delivery of Internet content....
Read more >
Things You Must Know Before Using a CDN - Bits and Pieces
If you decide to use a CDN for your web application, you have got to plan the strategy of using it. One of...
Read more >
A Beginner's Guide to Using CDNs
CDNs route users to specific PoPs based on a number of factors including distance, PoP availability, and connection speed. A PoP acts as...
Read more >
What to do about GPUs? (and the built distributions that ...
The challenge here is that there needs to be a reliable, cross-platform (and pure-Python) way to detect GPU ABIs, something like platform.gpu() ...
Read more >
Content delivery network — What is a CDN?
CDNs can use detection technology to quickly identify and neutralize bot threats. Reduced bandwidth costs Lastly, CDNs can help save companies money on ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found