From e10bb541455f4d0669371c33a861453f3753d247 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 08:57:05 +0100 Subject: [PATCH 1/2] Test lower limits of dependencies --- .ci_support/environment-old.yml | 11 ++++++++++ .github/workflows/unittests_old.yml | 34 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .ci_support/environment-old.yml create mode 100644 .github/workflows/unittests_old.yml diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml new file mode 100644 index 0000000..dc6af6f --- /dev/null +++ b/.ci_support/environment-old.yml @@ -0,0 +1,11 @@ +channels: + - conda-forge +dependencies: + - defusedxml =0.7.0 + - pandas =1.5.3 + - pyyaml =5.3.1 + - jinja2 =2.11.3 + - paramiko =2.7.1 + - tqdm =4.44.0 + - pympipool =0.7.0 + - cloudpickle =2.2.1 diff --git a/.github/workflows/unittests_old.yml b/.github/workflows/unittests_old.yml new file mode 100644 index 0000000..9d3c6f1 --- /dev/null +++ b/.github/workflows/unittests_old.yml @@ -0,0 +1,34 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Unittest Lower Bound + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Mambaforge + uses: conda-incubator/setup-miniconda@v2 + with: + python-version: '3.9' + miniforge-variant: Mambaforge + channels: conda-forge + channel-priority: strict + activate-environment: my-env + use-mamba: true + - name: Update environment + run: mamba env update -n my-env -f .ci_support/environment-old.yml + - name: Setup + shell: bash -l {0} + run: pip install --no-deps . + - name: Test + shell: bash -l {0} + run: python -m unittest discover tests From 75f59bf02f463d5d2dec322e489fc7b5470a65b7 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 24 Nov 2023 08:59:02 +0100 Subject: [PATCH 2/2] pympipool requirements --- .ci_support/environment-old.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci_support/environment-old.yml b/.ci_support/environment-old.yml index dc6af6f..dd56cf3 100644 --- a/.ci_support/environment-old.yml +++ b/.ci_support/environment-old.yml @@ -6,6 +6,6 @@ dependencies: - pyyaml =5.3.1 - jinja2 =2.11.3 - paramiko =2.7.1 - - tqdm =4.44.0 + - tqdm =4.66.1 - pympipool =0.7.0 - cloudpickle =2.2.1