Skip to content

Commit

Permalink
FIX: Replace minimum required Python for scikit-hep-testdata v0.5.0. (#…
Browse files Browse the repository at this point in the history
…928)

* https://github.com/conda-forge/scikit-hep-testdata-feedstock has broken
metadata for package scikit-hep-testdata-0.5.0-pyhd8ed1ab_0.conda.
(https://anaconda.org/conda-forge/scikit-hep-testdata/files?version=0.5.0)
The package has a 'run' requirement of python >=3.8 but scikit-hep-testdata
v0.5.0 dropped 3.8 support and is Python 3.9+. This was fixed in
https://github.com/conda-forge/scikit-hep-testdata-feedstock PR 68 on
2024-11-20, so use 1732172400000 (2024-11-21 in human readable metadata)
as the cutoff timestamp.

$ python -c "import datetime; print(f'{datetime.datetime(2024,11,21).timestamp():.0f}000')"
1732172400000
  • Loading branch information
matthewfeickert authored Dec 15, 2024
1 parent 16574a3 commit 1c902ce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipe/patch_yaml/scikit-hep-testdata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://github.com/conda-forge/scikit-hep-testdata-feedstock has broken
# metadata for package scikit-hep-testdata-0.5.0-pyhd8ed1ab_0.conda.
# The package has a 'run' requirement of python >=3.8 but scikit-hep-testdata
# v0.5.0 dropped 3.8 support and is Python 3.9+. This was fixed in PR
# https://github.com/conda-forge/scikit-hep-testdata-feedstock/pull/68 on
# 2024-11-20, so use 1732172400000 (2024-11-21 in human readable metadata)
# as the cutoff timestamp.
if:
name: scikit-hep-testdata
version_in:
- 0.5.0
timestamp_lt: 1732172400000
then:
- replace_depends:
old: python >=3.8
new: python >=3.9

0 comments on commit 1c902ce

Please sign in to comment.