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

feat: 3.13 support #619

Merged
merged 9 commits into from
Sep 27, 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
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
create-release-notes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Create Release Notes
uses: docker://decathlon/release-notes-generator-action:2.0.0
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
env:
ISSUE_NUMBER: 297
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/run-tox-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
matrix:
os: [ubuntu-22.04, windows-latest]
python-version: [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
"3.13-dev", # Not yet released, so we need to use -dev to get the release candidate
"pypy-3.9",
]
include:
Expand All @@ -34,11 +34,11 @@ jobs:
python-version: 'pypy-3.9'
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 20
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand All @@ -49,7 +49,7 @@ jobs:
sudo apt-get install -q -y libarchive-dev graphviz
- name: Download libarchive(Windows)
if: runner.os == 'Windows'
uses: carlosperate/download-file-action@v1.0.3
uses: carlosperate/download-file-action@v2
with:
file-url: "https://libarchive.org/downloads/libarchive-v3.5.3-win64.zip"
file-name: "libarchive-v3.5.3-win64.zip"
Expand Down Expand Up @@ -91,11 +91,11 @@ jobs:
name: Test slow test cases
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 20
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: x64
Expand All @@ -118,13 +118,13 @@ jobs:
strategy:
matrix:
arch: [aarch64]
distro: [ubuntu20.04]
distro: [ubuntu22.04]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 20
- uses: uraimo/run-on-arch-action@v2.2.0
- uses: uraimo/run-on-arch-action@v2
name: Build & run test
with:
arch: ${{ matrix.arch }}
Expand All @@ -137,7 +137,7 @@ jobs:
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
python3 -c "import platform;print('Machine type:', platform.machine())"
python3 -m tox -e py38
python3 -m tox -e py310
env: |
PYTEST_ADDOPTS: "--cov-config=pyproject.toml --cov --cov-append --benchmark-skip"

Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,16 +337,16 @@ Requirements
`py7zr` uses a python3 standard `lzma module`_ for extraction and compression.
The standard lzma module uses `liblzma`_ that support core compression algorithm of 7zip.

Minimum required version is Python 3.8.
Minimum required version is Python 3.9.

``py7zr`` tested on Linux, macOS, Windows and Ubuntu aarch64.

It hopefully works on M1 Mac too.

Recommended versions are:

- CPython 3.8.0 and later.
- PyPy3.8-7.3.8 and later.
- CPython 3.9.0 and later.
- PyPy3.9-7.3.8 and later.

Following fixes are included in these versions, and it is not fixed on python3.6.

Expand Down
2 changes: 1 addition & 1 deletion docs/contribution.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The py7zr is written in the Python programming language. Python installation for
various platforms with various ways. You need to install Python environment which
support `pip` command. Venv/Virtualenv is recommended for development.

We have a test suite with python 3.6, 3.7, 3.8 and pypy3.
We have a test suite with python 3.9, 3.10, 3.11, 3.12, 3.13, and pypy3.
If you want to run all the test with these versions and variant on your local,
you should install these versions. You can run test with CI environment on
Github actions.
Expand Down
Loading