Skip to content

Commit

Permalink
v1.0.55
Browse files Browse the repository at this point in the history
  • Loading branch information
cudmore committed Feb 14, 2024
1 parent 3927310 commit a3262b8
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 29 deletions.
121 changes: 94 additions & 27 deletions .github/workflows/publish_from_sanpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,97 @@ on:

jobs:

publish-macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install setuptools wheel numpy transonic psutil twine build
- name: Publish tp PyPi with twine (macOS)
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
git tag
python -m build .
twine upload dist/* --verbose
# continue-on-error: true
publish-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- ["3.8", "cp38"]
- ["3.9", "cp39"]
- ["3.10", "cp310"]
- ["3.11", "cp311"]
platform: ["manylinux_x86_64"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version[0] }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version[0] }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install setuptools wheel numpy transonic psutil twine build
- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
env:
CIBW_BUILD: ${{ matrix.python-version[1] }}-${{ matrix.platform }}
CIBW_BUILD_FRONTEND: "build" # "pip"
with:
output-dir: "dist"
config-file: "pyproject.toml"
- name: Publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
run: |
git tag
twine upload dist/*manylinux*.whl --verbose
continue-on-error: true

publish-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install setuptools wheel numpy transonic psutil twine build
- name: Publish to PyPi with twine (windows)
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
git tag
python -m build .
twine upload dist/* --verbose
continue-on-error: true

publish-macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python cudmore ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies - cudmore
run: |
pip install setuptools wheel numpy transonic psutil twine build
- name: Publish to PyPi with twine (cudmore - macOS)
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
git tag
python -m build .
twine upload dist/* --verbose
continue-on-error: true
2 changes: 1 addition & 1 deletion brightest_path_lib/_myVersion.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.52"
__version__ = "1.0.55"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
here = Path(__file__).parent.absolute()
sys.path.insert(0, ".")

__version__ = "1.0.52"
__version__ = "1.0.55"
# from .brightest_path_lib._myVersion import __version__

TRANSONIC_BACKEND = "pythran"
Expand Down

0 comments on commit a3262b8

Please sign in to comment.