-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dacdf16
commit 8fab6c4
Showing
5 changed files
with
82 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,55 +63,57 @@ jobs: | |
name: wheels | ||
path: dist/* | ||
|
||
# wheel-macos-x86_64: | ||
# name: Build MacOS wheels (x86-64) | ||
# runs-on: macOS-11 | ||
# strategy: | ||
# matrix: | ||
# python-tag: | ||
# - cp311-macosx_x86_64 | ||
# - cp312-macosx_x86_64 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Build manylinux wheels | ||
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS: x86_64 | ||
# CIBW_BUILD: ${{ matrix.python-tag }} | ||
# CIBW_BEFORE_BUILD: pip install cython | ||
# CIBW_BUILD_VERBOSITY: 2 | ||
# CIBW_TEST_REQUIRES: importlib-resources | ||
# with: | ||
# output-dir: dist | ||
# - uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: wheels | ||
# path: dist/* | ||
wheel-macos-x86_64: | ||
name: Build MacOS wheels (x86-64) | ||
runs-on: macOS-11 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp311-macosx_x86_64 | ||
- cp312-macosx_x86_64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build manylinux wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: x86_64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_TEST_REQUIRES: importlib-resources | ||
MACOSX_DEPLOYMENT_TARGET: 12.1 | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheels | ||
path: dist/* | ||
|
||
# wheel-macos-aarch64: | ||
# name: Build MacOS wheels (Aarch64) | ||
# runs-on: macOS-11 | ||
# strategy: | ||
# matrix: | ||
# python-tag: | ||
# - cp311-macosx_arm64 | ||
# - cp312-macosx_arm64 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Build manylinux wheels | ||
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS: arm64 | ||
# CIBW_BUILD: ${{ matrix.python-tag }} | ||
# CIBW_BEFORE_BUILD: pip install cython | ||
# CIBW_BUILD_VERBOSITY: 2 | ||
# CIBW_TEST_REQUIRES: importlib-resources | ||
# with: | ||
# output-dir: dist | ||
# - uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: wheels | ||
# path: dist/* | ||
wheel-macos-aarch64: | ||
name: Build MacOS wheels (Aarch64) | ||
runs-on: macOS-11 | ||
strategy: | ||
matrix: | ||
python-tag: | ||
- cp311-macosx_arm64 | ||
- cp312-macosx_arm64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build manylinux wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: arm64 | ||
CIBW_BUILD: ${{ matrix.python-tag }} | ||
CIBW_BEFORE_BUILD: pip install cython | ||
CIBW_BUILD_VERBOSITY: 2 | ||
CIBW_TEST_REQUIRES: importlib-resources | ||
MACOSX_DEPLOYMENT_TARGET: 12.1 | ||
with: | ||
output-dir: dist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheels | ||
path: dist/* | ||
|
||
sdist: | ||
runs-on: ubuntu-latest | ||
|
@@ -131,30 +133,28 @@ jobs: | |
with: | ||
name: wheels | ||
path: dist/* | ||
- name: Run tests without coverage | ||
run: python -m unittest | ||
|
||
test-sdist: | ||
runs-on: ubuntu-latest | ||
name: Test source distribution | ||
needs: | ||
- sdist | ||
steps: | ||
- name: Setup Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- name: Download built wheels | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: wheels | ||
path: dist/ | ||
- name: Update pip to latest version | ||
run: python -m pip install -U pip setuptools wheel | ||
- name: Install built wheel | ||
run: python -m pip install --no-binary mDeepFRI --find-links=dist mDeepFRI | ||
- name: Run tests without coverage | ||
run: python -m unittest mDeepFRI.tests -vv | ||
# test-sdist: | ||
# runs-on: ubuntu-latest | ||
# name: Test source distribution | ||
# needs: | ||
# - sdist | ||
# steps: | ||
# - name: Setup Python 3.11 | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: '3.11' | ||
# - name: Download built wheels | ||
# uses: actions/download-artifact@v2 | ||
# with: | ||
# name: wheels | ||
# path: dist/ | ||
# - name: Update pip to latest version | ||
# run: python -m pip install -U pip setuptools wheel | ||
# - name: Install built wheel | ||
# run: python -m pip install --no-binary mDeepFRI --find-links=dist mDeepFRI | ||
# - name: Run tests without coverage | ||
# run: python -m unittest mDeepFRI.tests -vv | ||
|
||
upload: | ||
environment: PyPI | ||
|
@@ -164,9 +164,10 @@ jobs: | |
name: Upload | ||
needs: | ||
- sdist | ||
- test-sdist | ||
- wheel-linux-aarch64 | ||
- wheel-linux-x86_64 | ||
- wheel-macos-x86_64 | ||
- wheel-macos-aarch64 | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
from mDeepFRI.mmseqs import QueryFile | ||
|
||
__version__ = "1.1.7" | ||
__version__ = "1.1.8" | ||
__author__ = "Valentyn Bezshapkin <[email protected]>" | ||
__licencse__ = "BSD-3-Clause" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,3 @@ exclude = [ | |
"tests/", | ||
"docs/" | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--ignore=boost_1_81_0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters