Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-330: Add Python 3.11 Support #331

Merged
merged 4 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macOS-latest] # '3.5',
pyver: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10'] #, '3.11-dev'
os: [ubuntu-latest, windows-2019, macOS-latest]
pyver: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand All @@ -36,15 +36,15 @@ jobs:
git --version

- name: Package Python 3.9 and earlier
if: matrix.os == 'ubuntu-latest' && matrix.pyver != '3.10' && matrix.pyver != '3.11-dev'
if: matrix.os == 'ubuntu-latest' && matrix.pyver != '3.10' && matrix.pyver != '3.11'
run: docker run --rm -v ${{github.workspace}}/:/io ezralanglois/interop sh /io/tools/package.sh /io /io/dist travis OFF

- name: Package Python 3.10
if: matrix.os == 'ubuntu-latest' && matrix.pyver == '3.10'
run: docker run --rm -v ${{github.workspace}}/:/io ezralanglois/interop_centos7 sh /io/tools/package.sh /io /io/dist travis OFF Release cp310-cp310

- name: Package Python 3.11
if: matrix.os == 'ubuntu-latest' && matrix.pyver == '3.11-dev'
if: matrix.os == 'ubuntu-latest' && matrix.pyver == '3.11'
run: docker run --rm -v ${{github.workspace}}/:/io ezralanglois/interop_centos7 sh /io/tools/package.sh /io /io/dist travis OFF Release cp311-cp311

- name: Windows Package Python
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Illumina sequencers including **NextSeq 1k/2k** and NovaSeqX. These libraries ar
with one exception: GA systems have been excluded.

***
> We now support an interface to Python 2.7 (UCS-4) and 3.6-3.10
> Note that 3.10 is CentOS 7 or later while earlier versions support Centos 5 or later
> We now support an interface to 3.6-3.11
> Note that 3.10 and 3.11 are CentOS 7 or later while earlier versions support Centos 5 or later
> Note: dumptext has been deprecated in favor of imaging_table and will be removed in the next version
***

Expand Down Expand Up @@ -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.

Expand Down
6 changes: 6 additions & 0 deletions docs/src/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changes {#changes}

## v1.3.0

| Date | Description |
|------------|------------------------------------|
| 2023-11-22 | Issue-330: Add Python 3.11 Support |

## v1.2.4

| Date | Description |
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metric files are produced after a run during secondary analysis (index metrics)
the original data (collapsed quality scores).

***
> We now support an interface to Python 2.7 (UCS-4), 3.6, 3.7, 3.8, 3.9 and 3.10 (see contents below)
> We now support an interface to Python 3.6 to 3.11 (see contents below)
***

Compatibility
Expand Down
6 changes: 3 additions & 3 deletions docs/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ 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,
Python 3.6, 3.7, 3.8, 3.9 and 3.10.
be compatible with most Linux Versions, Mac OSX and Windows. We support
Python 3.6 to 3.11.

### Binary Archive (C++, C#, Python, Java)

Expand All @@ -35,7 +35,7 @@ For Pythons users, a Wheel package is available on Github Releases or PyPI:
$ pip install interop
~~~~~~~~~~~~~

Supported versions for binary distribution: 2.7 (UCS-4), 3.6, 3.7, 3.8, 3.9 and 3.10.
Supported versions for binary distribution: 3.6 to 3.11.

Test the installation

Expand Down
2 changes: 1 addition & 1 deletion docs/src/python_binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, 3.7, 3.8, 3.9 and 3.10 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.

Expand Down
Loading