Skip to content

Commit

Permalink
Drop python 3.7 support
Browse files Browse the repository at this point in the history
EOL and no walrus operator
  • Loading branch information
KolinGuo committed Apr 4, 2024
1 parent 15a5117 commit 6232eb7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
pyver: [cp38, cp39, cp310, cp311, cp312]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ functionalities in robot manipulation.

## Installation

Pre-built pip packages support Ubuntu 18.04+ with Python 3.7+.
Pre-built pip packages support Ubuntu 20.04+ with Python 3.8+.

```
pip install mplib
Expand Down
4 changes: 2 additions & 2 deletions dev/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ fi

if [ "$PY_VERSION" == "all" ]; then
# python3 -m cibuildwheel --platform linux
for PY_VERSION in 37 38 39 310 311 312; do
for PY_VERSION in 38 39 310 311 312; do
build_wheel
done
else
# CIBW_BUILD="cp${PY_VERSION}-*" python3 -m cibuildwheel --platform linux
case "$PY_VERSION" in
37|38|39|310|311|312) ;;
38|39|310|311|312) ;;
*)
echo "Error: Python version($PY_VERSION) not supported" >&2
exit 4
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "mplib"
dynamic = ["version"]
dependencies = ["numpy", "toppra >= 0.4.0", "transforms3d >= 0.3.1"]
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{name="Minghua Liu", email = "[email protected]"},
{name="Jiayuan Gu", email="[email protected]"},
Expand All @@ -31,8 +31,6 @@ classifiers=[
"Natural Language :: English",
"Framework :: Robot Framework :: Tool",
"Programming Language :: C++",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit 6232eb7

Please sign in to comment.