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

Test newer Python versions up to 3.13 #28

Merged
merged 2 commits into from
Oct 9, 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
20 changes: 10 additions & 10 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: Ubuntu
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
build:
Expand All @@ -17,16 +17,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-20.04, ubuntu-22.04]
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

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

- name: Show environment
run: |
Expand All @@ -35,14 +36,13 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get -y install minisat
python -m pip install --upgrade pip tox
sudo apt-get -y install minisat python3-pip tox

- name: Check style
if: matrix.os == 'ubuntu-20.04' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.12'
run: |
tox -e style

- name: Run tests
run: |
tox -e slow
tox -e py,slow
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.2 (unreleased)

* Raise minimum Python version to 3.7 and maximum Python version to 3.13 (#28).


# 2.1 (2022-01-17)

* Add options to API for removal of static facts from init, and removal of irrelevant operators (Blai Bonet, #14).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ costs.

# Requirements

Pyperplan requires [Python](https://python.org) >= 3.6.
Pyperplan requires [Python](https://python.org) >= 3.7.

# Installation

Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
],
install_requires=["wheel"],
python_requires=">=3.6",
python_requires=">=3.7",
)
Loading