From b32b714af468d79ad0029a67dbc0b96634c89e74 Mon Sep 17 00:00:00 2001 From: bn Date: Tue, 3 Sep 2024 21:18:32 +0200 Subject: [PATCH 1/2] Add upper-bound to setuptools in pyproject.toml. Based on https://numpy.org/devdocs/reference/distutils_status_migration.html#interaction-of-numpy-distutils-with-setuptools --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2ea181d..326cddf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires=['setuptools', 'wheel', 'numpy'] +requires=['setuptools<60.0', 'wheel', 'numpy'] From 80f0d70f363d29c14a7163c3a5f0cbd6ecf3f89e Mon Sep 17 00:00:00 2001 From: bn Date: Tue, 3 Sep 2024 21:25:54 +0200 Subject: [PATCH 2/2] Update github action version to @main. Previous version is deprecated. --- .github/workflows/ci-ubuntu.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml index 5a835df..d550350 100644 --- a/.github/workflows/ci-ubuntu.yml +++ b/.github/workflows/ci-ubuntu.yml @@ -23,9 +23,9 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@main - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@main with: python-version: ${{ matrix.python-version }}