From 7486afd4ad5d4f486acc6cb788752ed4785bda37 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Thu, 31 Jul 2025 11:52:03 -0500 Subject: [PATCH 1/4] Update workflow actions (setup-miniconda and checkout). Add .spyproject to .gitignore --- .github/workflows/ci.yml | 16 ++++++++-------- .gitignore | 4 ++++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7920d7..fe7bcc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,9 @@ jobs: PYTHON_VERSION: ['3.7', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test python-version: ${{ matrix.PYTHON_VERSION }} @@ -70,9 +70,9 @@ jobs: PYTHON_VERSION: ['3.8', '3.9'] steps: - name: Checkout branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test python-version: ${{ matrix.PYTHON_VERSION }} @@ -111,9 +111,9 @@ jobs: PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test python-version: ${{ matrix.PYTHON_VERSION }} @@ -152,9 +152,9 @@ jobs: PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test python-version: ${{ matrix.PYTHON_VERSION }} diff --git a/.gitignore b/.gitignore index 393c92f..d54f89a 100644 --- a/.gitignore +++ b/.gitignore @@ -275,3 +275,7 @@ activate.xsh # Loghub CHANGELOG.temp + +# Spyder +.spyproject/ + From 6368720ae669f9b118a916e1af50ec9428727b95 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Thu, 31 Jul 2025 11:59:11 -0500 Subject: [PATCH 2/4] Set channel for setup-miniconda action to conda-forge --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe7bcc7..4d65684 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,8 @@ jobs: uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test - python-version: ${{ matrix.PYTHON_VERSION }} + python-version: ${{ matrix.PYTHON_VERSION }} + channels: conda-forge - name: Install Dependencies shell: bash -l {0} run: pip install -r requirements/install.txt @@ -75,7 +76,8 @@ jobs: uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test - python-version: ${{ matrix.PYTHON_VERSION }} + python-version: ${{ matrix.PYTHON_VERSION }} + channels: conda-forge - name: Install Dependencies shell: bash -l {0} run: pip install -r requirements/install.txt @@ -116,7 +118,8 @@ jobs: uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test - python-version: ${{ matrix.PYTHON_VERSION }} + python-version: ${{ matrix.PYTHON_VERSION }} + channels: conda-forge - name: Install Dependencies shell: bash -l {0} run: pip install -r requirements/install.txt @@ -157,7 +160,8 @@ jobs: uses: conda-incubator/setup-miniconda@v3 with: activate-environment: test - python-version: ${{ matrix.PYTHON_VERSION }} + python-version: ${{ matrix.PYTHON_VERSION }} + channels: conda-forge - name: Install Dependencies shell: bash -l {0} run: pip install -r requirements/install.txt From aa98a18181528b78883828f4239554ea037b7d41 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:07:34 -0500 Subject: [PATCH 3/4] Remove Python 3.7 from macOS matrix (no osx-arm64 package available for that Python version) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d65684..fb3e939 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: strategy: fail-fast: false matrix: - PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10'] + PYTHON_VERSION: ['3.8', '3.9', '3.10'] steps: - name: Checkout branch uses: actions/checkout@v3 From 93910b5db366af7b094019edb6ccb58ff83e5484 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:21:11 -0500 Subject: [PATCH 4/4] More actions updates --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb3e939..f6fb163 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: PYTHON_VERSION: ['3.7', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -71,7 +71,7 @@ jobs: PYTHON_VERSION: ['3.8', '3.9'] steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -113,7 +113,7 @@ jobs: PYTHON_VERSION: ['3.8', '3.9', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -155,7 +155,7 @@ jobs: PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -188,11 +188,11 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') needs: [windows, macos, linux] steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.8 - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.10 - name: Install dependencies run: | python -m pip install --upgrade pip wheel setuptools @@ -201,7 +201,7 @@ jobs: python setup.py sdist bdist_wheel - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.5.1 + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }}