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

Allow backward compatibility with Python 3.10 #143

Merged
merged 4 commits into from
Apr 23, 2024
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
17 changes: 9 additions & 8 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"

Expand All @@ -46,7 +46,7 @@ jobs:
run: twine check dist/*

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: dist/*
name: dist
Expand All @@ -63,18 +63,19 @@ jobs:
- macos-latest
- windows-latest
python:
- "3.10"
- "3.11"
- "3.12"

steps:

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Download Python packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: dist
name: dist
Expand All @@ -96,7 +97,7 @@ jobs:
- name: Import the package
run: python -c "import jaxsim"

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -148,7 +149,7 @@ jobs:
steps:

- name: Download Python packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: dist
name: dist
Expand All @@ -165,4 +166,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true
skip-existing: true
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ classifiers =
Operating System :: POSIX :: Linux
Operating System :: MacOS
Operating System :: Microsoft
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Expand All @@ -51,7 +52,7 @@ zip_safe = False
packages = find:
package_dir =
=src
python_requires = >=3.11
python_requires = >=3.10
install_requires =
coloredlogs
jax >= 0.4.13
Expand Down
Loading