From fea2fcc4e19eb558a7c99700ab5467078d337869 Mon Sep 17 00:00:00 2001 From: Hauke Schulz <43613877+observingClouds@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:36:14 +0100 Subject: [PATCH] limit libcurl version to <8.10 (#297) * fix ignored python version setting * limit libcurl version to <3.10 this restriction may be lifted after https://github.com/JuliaLang/Downloads.jl/issues/260 is solved --- .github/workflows/ci.yaml | 12 +++--------- CHANGELOG.rst | 1 + environment.yml | 3 ++- tests/environment.yml | 1 + 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6265d534..abfdb32b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,9 +40,7 @@ jobs: miniforge-variant: Mambaforge activate-environment: bitinfo-tests python-version: '3.11' - - name: Set up conda environment - run: | - mamba env update -f tests/environment.yml + environment-file: tests/environment.yml - name: Conda info run: conda info - name: Conda list @@ -67,9 +65,7 @@ jobs: activate-environment: bitinfo-tests auto-update-conda: false python-version: '3.11' - - name: Install conda dependencies - run: | - mamba env update -f tests/environment.yml + environment-file: tests/environment.yml - name: Install xbitinfo run: | python -m pip install -e . @@ -98,9 +94,7 @@ jobs: miniforge-variant: Mambaforge activate-environment: bitinfo-docs python-version: '3.11' - - name: Set up conda environment - run: | - mamba env update -f docs/environment.yml + environment-file: docs/environment.yml - name: Remove julia (issue #212) run: | conda remove julia diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db2a2d37..2b403fdb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ CHANGELOG X.X.X (unreleased) ------------------ +* Limit libcurl version to fix recent binary issues (:pr:`297`) `Hauke Schulz`_. * Add warning for quantized variables (:pr:`286`, :issue:`202`) `Joel Jaeschke`_. * Update BitInformation.jl version to v0.6.3 (:pr:`292`) `Hauke Schulz`_ * Improve test/docs environment separation (:pr:`275`, :issue:`267`) `Aryan Bakliwal`_. diff --git a/environment.yml b/environment.yml index a75c755e..0e6f0c71 100644 --- a/environment.yml +++ b/environment.yml @@ -2,9 +2,10 @@ name: bitinfo channels: - conda-forge dependencies: - - python + - python<3.13 - julia<1.9.0 - pyjulia + - curl<8.10 - matplotlib-base - numpy - pooch diff --git a/tests/environment.yml b/tests/environment.yml index fd3d9bf1..95dadd39 100644 --- a/tests/environment.yml +++ b/tests/environment.yml @@ -5,6 +5,7 @@ dependencies: - python - julia<1.9.0 - pyjulia + - curl<8.10 - matplotlib-base - numpy - pooch