From b1bf60e566980d0589039a1614d0a0716d259f31 Mon Sep 17 00:00:00 2001 From: rlanglois Date: Wed, 22 Nov 2023 06:44:39 -0800 Subject: [PATCH] Remove Python 2.7 and upgrade to netcore 6 --- .github/workflows/dotnet.yml | 4 ++-- .github/workflows/python.yml | 2 +- README.md | 4 +++- docs/src/install.md | 2 +- docs/src/python_binding.md | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0b774b37e..19de56a07 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -29,11 +29,11 @@ jobs: - name: Configure Windows if: matrix.os == 'windows-latest' - run: cmake ${{github.workspace}} -Ax64 -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.buildtype}} -DPACKAGE_OUTPUT_FILE_PREFIX=${{github.workspace}}/dist -DENABLE_SWIG=ON -DENABLE_PORTABLE=ON -DENABLE_EXAMPLES=OFF -DENABLE_CSHARP=ON -DENABLE_PYTHON=OFF -DCSHARP_TEST_FRAMEWORK=netcoreapp3 + run: cmake ${{github.workspace}} -Ax64 -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.buildtype}} -DPACKAGE_OUTPUT_FILE_PREFIX=${{github.workspace}}/dist -DENABLE_SWIG=ON -DENABLE_PORTABLE=ON -DENABLE_EXAMPLES=OFF -DENABLE_CSHARP=ON -DENABLE_PYTHON=OFF -DCSHARP_TEST_FRAMEWORK=netcoreapp6 - name: Configure OSX if: matrix.os == 'macOS-latest' - run: cmake ${{github.workspace}} -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.buildtype}} -DPACKAGE_OUTPUT_FILE_PREFIX=${{github.workspace}}/dist -DENABLE_SWIG=ON -DENABLE_PORTABLE=ON -DENABLE_EXAMPLES=OFF -DENABLE_CSHARP=ON -DENABLE_PYTHON=OFF -DCSHARP_TEST_FRAMEWORK=netcoreapp3 + run: cmake ${{github.workspace}} -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.buildtype}} -DPACKAGE_OUTPUT_FILE_PREFIX=${{github.workspace}}/dist -DENABLE_SWIG=ON -DENABLE_PORTABLE=ON -DENABLE_EXAMPLES=OFF -DENABLE_CSHARP=ON -DENABLE_PYTHON=OFF -DCSHARP_TEST_FRAMEWORK=netcoreapp6 - name: Build OSX and Windows if: matrix.os != 'ubuntu-latest' diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 344892f2d..24b007137 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-2019, macOS-latest] - pyver: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] + pyver: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index bb8dff218..893ec96b3 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,9 @@ Install ### Python -Supported versions for binary distribution: Python 2.7 and 3.5-3.10. +Supported versions for binary distribution: 3.5-3.10. + +** Python 2.7 support has been removed ** You should have NumPy already installed. diff --git a/docs/src/install.md b/docs/src/install.md index f8597ec0d..a3e283ce5 100644 --- a/docs/src/install.md +++ b/docs/src/install.md @@ -18,7 +18,7 @@ In addition to the binary archive below, there are language specific packages in - Wheel for Python Note, we only distribute from GitHub currently, and not PyPi or NuGet.org. These should -be compatible with most Linux Versions, Mac OSX and Windows. We support Python 2.7, +be compatible with most Linux Versions, Mac OSX and Windows. We support Python 3.6 to 3.11. ### Binary Archive (C++, C#, Python, Java) diff --git a/docs/src/python_binding.md b/docs/src/python_binding.md index 34c14d412..6f80c150d 100644 --- a/docs/src/python_binding.md +++ b/docs/src/python_binding.md @@ -16,7 +16,7 @@ Older versions (prior to 1.1.3) can be installed using: $ pip install -f https://github.com/Illumina/interop/releases/tag/v1.1.2 interop $ pip install -f https://github.com/Illumina/interop/releases/latest interop -Note, only Python versions 2.7, 3.6 to 3.11 are currently +Note, only Python versions 3.6 to 3.11 are currently supported as binary builds. Other Python versions must be built from source.