From 2e7dc3b69f86e091e35a622c94aeaa77def35ee1 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 2 Feb 2022 18:04:41 -0500 Subject: [PATCH 1/3] bump the testing Python version to 3.10 Test whether deepmd-kit is compatible with the latest Python. TF 2.8 was just released with Python 3.10 support. --- .github/workflows/test_python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 3c957e7758..e93ed71be5 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -42,10 +42,10 @@ jobs: - python: 3.7 gcc: 8 tf: - - python: 3.8 + - python: 3.10 gcc: 5 tf: - - python: 3.8 + - python: 3.10 gcc: 8 tf: From a7e529f0896ac3611c8db9034cc5b3ae6e8369a1 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 2 Feb 2022 18:07:40 -0500 Subject: [PATCH 2/3] add cp310 to wheel building --- .github/workflows/build_wheel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index bc6a375c81..936aa6b65f 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -25,7 +25,7 @@ jobs: - name: Build wheels env: - CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*" + CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-* cp310-*" CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/deepmodeling/manylinux2010_x86_64_tensorflow CIBW_BEFORE_BUILD: pip install tensorflow CIBW_SKIP: "*-win32 *-manylinux_i686 *-musllinux*" From 771f19fa8574ccb8799e4de5d89cbc3cd123d0b9 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 2 Feb 2022 18:10:01 -0500 Subject: [PATCH 3/3] the version is not a float... --- .github/workflows/test_python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index e93ed71be5..93b65dcca5 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -42,10 +42,10 @@ jobs: - python: 3.7 gcc: 8 tf: - - python: 3.10 + - python: "3.10" gcc: 5 tf: - - python: 3.10 + - python: "3.10" gcc: 8 tf: