-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from saullocastro/lp_gradients
LP gradients and maintenance updates
- Loading branch information
Showing
13 changed files
with
88 additions
and
42 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
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
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 |
---|---|---|
|
@@ -10,22 +10,22 @@ jobs: | |
strategy: | ||
matrix: | ||
runs-on: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [3.8, 3.9, '3.10', '3.11'] | ||
python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11') || (matrix.runs-on == 'macos-latest') | ||
if: matrix.runs-on == 'windows-latest' || (matrix.runs-on == 'ubuntu-latest') || (matrix.runs-on == 'macos-latest') | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install --upgrade setuptools wheel twine | ||
python3 -m pip install -r ci_requirements.txt | ||
- name: Upload source code | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.12' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
|
@@ -43,16 +43,18 @@ jobs: | |
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python3 -m twine upload dist/*.whl | ||
- name: Build manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
uses: RalfG/[email protected]_x86_64 | ||
with: | ||
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311' | ||
build-requirements: 'pip cython numpy setuptools wheel twine' | ||
- name: Publish manylinux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' && matrix.python-version == '3.11' | ||
- name: Build Linux Python wheels, install cibuildwheel | ||
if: matrix.runs-on == 'ubuntu-latest' | ||
run: | | ||
python -m pip install cibuildwheel==2.16.5 | ||
- name: Build Linux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' | ||
run: | | ||
python -m cibuildwheel --output-dir dist | ||
- name: Publish Linux Python wheels | ||
if: matrix.runs-on == 'ubuntu-latest' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | ||
run: | | ||
python3 -m twine upload dist/*-manylinux*.whl | ||
python3 -m twine upload dist/*linux*.whl |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2012-2023, Saullo G. P. Castro ([email protected]). | ||
Copyright (c) 2012-2024, Saullo G. P. Castro ([email protected]). | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
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,3 +2,4 @@ cython | |
numpy | ||
sphinx | ||
numpydoc | ||
pydata-sphinx-theme |
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
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