From 76995dc0bd0338fb42939626c6be4e752f0f40f3 Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 3 Oct 2024 14:31:13 -0700 Subject: [PATCH 1/2] Allow installation to Python 3.10 environment All unit tests pass. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 55dd99a3..605b2157 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def _parse_requirements(path: pathlib.Path): url="http://github.com/quantumlib/unitary", author="Quantum AI team and collaborators", author_email="quantum-chess-engineering@googlegroups.com", - python_requires=">=3.12.0", + python_requires=">=3.10.0", install_requires=install_requires, license="Apache 2", description="", From d52ac85e9c5f2c312978afa48175c0f969f02d2a Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 3 Oct 2024 14:49:24 -0700 Subject: [PATCH 2/2] CI - temporarily test with pylint-2 --- .github/workflows/pylint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d8a0da8b..84a101e8 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -12,8 +12,9 @@ jobs: python-version: '3.12' architecture: 'x64' - name: Install Pylint + # TODO: #210 - install the latest pylint below run: | python -m pip install --upgrade pip - pip install pylint + pip install 'pylint<3' - name: Pylint check run: dev_tools/pylint