From df8bb3eff7ce63a2cb8892b0048057bfe48a29a1 Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Thu, 8 Feb 2024 09:31:16 +0100 Subject: [PATCH 1/2] Ref #581: Run CI on Python 3.12 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b7b295e..e18d7f02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 From 56df06a89b29cfee4ce29830f29daebd6edd4f69 Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Thu, 8 Feb 2024 11:21:24 +0100 Subject: [PATCH 2/2] Use --allow-unsafe to generate requirements --- requirements.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 26035804..2e46b26d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --generate-hashes +# pip-compile --allow-unsafe --generate-hashes # hupper==1.12.1 \ --hash=sha256:06bf54170ff4ecf4c84ad5f188dee3901173ab449c2608ad05b9bfd6b13e32eb \ @@ -81,7 +81,11 @@ zope-interface==6.1 \ --hash=sha256:fddbab55a2473f1d3b8833ec6b7ac31e8211b0aa608df5ab09ce07f3727326de # via pyramid -# WARNING: The following packages were not pinned, but pip requires them to be -# pinned when the requirements file includes hashes and the requirement is not -# satisfied by a package already installed. Consider using the --allow-unsafe flag. -# setuptools +# The following packages are considered to be unsafe in a requirements file: +setuptools==69.0.3 \ + --hash=sha256:385eb4edd9c9d5c17540511303e39a147ce2fc04bc55289c322b9e5904fe2c05 \ + --hash=sha256:be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78 + # via + # pyramid + # zope-deprecation + # zope-interface