-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into topic/miurahr/performance/drop-manual-gc-c…
…all-issue-489
- Loading branch information
Showing
7 changed files
with
43 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
max-line-length = 125 | ||
extend-ignore = E203, W503 | ||
ignore = F841 |
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 |
---|---|---|
|
@@ -17,24 +17,24 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
os: [ubuntu-22.04, windows-latest] | ||
python-version: [ | ||
"3.7", | ||
"3.8", | ||
"3.9", | ||
"3.10", | ||
"3.11-dev", | ||
"pypy3.7", | ||
"3.11", | ||
"pypy-3.9", | ||
] | ||
include: | ||
- os: macos-latest | ||
python-version: "3.10" | ||
python-version: "3.11" | ||
exclude: | ||
- os: windows-latest | ||
python-version: pypy3.7 | ||
python-version: 'pypy-3.9' | ||
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 20 | ||
- name: Setup python | ||
|
@@ -89,15 +89,15 @@ jobs: | |
|
||
test_slow_tests: | ||
name: Test slow test cases | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 20 | ||
- name: Setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
python-version: '3.11' | ||
architecture: x64 | ||
- name: Install system library(linux) | ||
run: | | ||
|
@@ -114,14 +114,14 @@ jobs: | |
|
||
test_on_aarch64: | ||
name: Test on ${{ matrix.arch }} | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
arch: [aarch64] | ||
distro: [ubuntu20.04] | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 20 | ||
- uses: uraimo/[email protected] | ||
|
@@ -147,11 +147,6 @@ jobs: | |
needs: build | ||
if: github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
architecture: x64 | ||
- name: Tell Coveralls that the parallel build is finished | ||
run: | | ||
curl -k \ | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
name = "py7zr" | ||
requires-python = ">=3.7" | ||
description = "Pure python 7-zip library" | ||
readme = "README.rst" | ||
license = {text = "LGPL-2.1-or-later"} | ||
authors = [ | ||
{name = "Hiroshi Miura", email = "[email protected]"}, | ||
|
@@ -40,7 +39,16 @@ dependencies = [ | |
'inflate64>=0.3.1;python_version>"3.6"', | ||
] | ||
keywords = ['compression', '7zip', 'lzma', 'zstandard', 'ppmd', 'lzma2', 'bcj', 'archive'] | ||
dynamic = ["version", "entry-points"] | ||
dynamic = ["readme", "version"] | ||
|
||
[tool.setuptools] | ||
packages = ["py7zr"] | ||
|
||
[tool.setuptools.package-data] | ||
py7zr = ["py.typed"] | ||
|
||
[tool.setuptools.dynamic] | ||
readme = {file = ["README.rst"]} | ||
|
||
[project.scripts] | ||
py7zr = "py7zr.__main__:main" | ||
|
@@ -156,15 +164,15 @@ markers = [ | |
legacy_tox_ini = """ | ||
[tox] | ||
isolated_build = True | ||
envlist = mypy, check, pypy{37,38}, py{37,38,39,310,311}, py39d, docs, mprof | ||
envlist = mypy, check, pypy{37,38,39}, py{37,38,39,310,311}, py39d, docs, mprof | ||
[testenv] | ||
passenv = GITHUB_* PYTEST_ADDOPTS COVERALLS_* LIBARCHIVE | ||
extras = test | ||
commands = | ||
python -m pytest -vv | ||
depends = | ||
pypy3,py{36,37,38,39,310}: clean, check | ||
pypy{37,38,39},py{36,37,38,39,310}: clean, check | ||
[testenv:py38] | ||
extras = test, test_compat | ||
|
@@ -228,5 +236,5 @@ python = | |
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
pypy3.7: pypy37 | ||
pypy-3.9: pypy39 | ||
""" |