Exclude packages that are newer than 7 days for installation#771
Exclude packages that are newer than 7 days for installation#771
Conversation
ea78bd1 to
695cb14
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s uv configuration to prevent installing package versions that are newer than 7 days, helping stabilize dependency resolution and avoid very recent releases.
Changes:
- Add a
uvconfiguration block to exclude packages newer than 7 days. - Minor formatting adjustment in the
devoptional dependency list.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This is currently blocked by #772 |
Release `1.24.1` of `onnxruntime` dropped support for Python 3.10, see https://github.com/microsoft/onnxruntime/releases/tag/v1.24.1. Unfortunately, they did not properly update their metadata, which causes issues when trying to install the package as `uv` *thinks* that python 3.10 is still supported for several versions that actually do not support this anymore. The metadata was only fixed recently in https://github.com/microsoft/onnxruntime/releases/tag/v1.24.4 (see microsoft/onnxruntime#27354). Although this does not cause issues when *updating* the lock file, it creates issues when it has to be fully regenerated which e.g. happens in #771 . It is thus necessary to pin the used version of `onnxruntime` for python 3.10.
da56572 to
8f105f7
Compare
|
@Scienfitz @AdrianSosic Note: Since this PR changes one of the settings of uv, the lock file had to be regenerated completely and was not just updated. This seems to be just how uv is configured and is what made me discover #772 . Probably has no consequences, but I wanted to make you aware of this. |
8f105f7 to
76d2195
Compare
76d2195 to
77aea7e
Compare
|
Note that there is a fixed timestamp in the lock file which is static and will only be updated when a completely new resolution is triggered - just FYI. |
This PR improves the configuration of BayBE such that only package version older than 7 days can be installed.
I have tested this locally and can confirm that it works: I've attempted to raise the version of

uvitself in this PR, which was not possible as the latest version ofuvis only 4 days old. I've also done a check using a value of 100 days, which results in an error that the necessary version0.14.11.ofruffcannot be installed. Since 100 days ago was December 20, 2025, this also checks out: