-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into addTestcases
- Loading branch information
Showing
8 changed files
with
88 additions
and
98 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: main | |
on: | ||
push: | ||
branches: | ||
- main | ||
- "*" | ||
tags: | ||
- "*" | ||
|
||
|
@@ -20,7 +20,7 @@ jobs: | |
matrix: | ||
name: [ | ||
"windows-py38", | ||
"windows-py311", | ||
"windows-py313", | ||
"windows-pypy3", | ||
|
||
"ubuntu-py38-pytestmain", | ||
|
@@ -29,6 +29,7 @@ jobs: | |
"ubuntu-py310", | ||
"ubuntu-py311", | ||
"ubuntu-py312", | ||
"ubuntu-py313", | ||
"ubuntu-pypy3", | ||
"ubuntu-benchmark", | ||
] | ||
|
@@ -38,10 +39,10 @@ jobs: | |
python: "3.8" | ||
os: windows-latest | ||
tox_env: "py38" | ||
- name: "windows-py311" | ||
python: "3.10" | ||
- name: "windows-py313" | ||
python: "3.13" | ||
os: windows-latest | ||
tox_env: "py311" | ||
tox_env: "py313" | ||
- name: "windows-pypy3" | ||
python: "pypy3.9" | ||
os: windows-latest | ||
|
@@ -71,10 +72,15 @@ jobs: | |
tox_env: "py311" | ||
use_coverage: true | ||
- name: "ubuntu-py312" | ||
python: "3.12-dev" | ||
python: "3.12" | ||
os: ubuntu-latest | ||
tox_env: "py312" | ||
use_coverage: true | ||
- name: "ubuntu-py313" | ||
python: "3.13" | ||
os: ubuntu-latest | ||
tox_env: "py313" | ||
use_coverage: true | ||
- name: "ubuntu-pypy3" | ||
python: "pypy3.9" | ||
os: ubuntu-latest | ||
|
@@ -94,6 +100,7 @@ jobs: | |
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
allow-prereleases: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -140,4 +147,6 @@ jobs: | |
run: python -m build --sdist --wheel --outdir dist/ | ||
|
||
- name: Publish package | ||
uses: pypa/[email protected] | ||
uses: pypa/[email protected] | ||
with: | ||
attestations: true |
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 |
---|---|---|
@@ -1,15 +1,55 @@ | ||
[build-system] | ||
requires = [ | ||
# sync with setup.py until we discard non-pep-517/518 | ||
"setuptools>=45.0", | ||
"setuptools-scm[toml]>=6.2.3", | ||
"setuptools>=65.0", | ||
"setuptools-scm[toml]>=8.0", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pluggy" | ||
license = {text = "MIT"} | ||
authors = [{name = "Holger Krekel", email = "[email protected]"}] | ||
classifiers = [ | ||
"Development Status :: 6 - Mature", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: POSIX", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Utilities", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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", | ||
] | ||
description = "plugin and hook calling mechanisms for python" | ||
readme = {file = "README.rst", content-type = "text/x-rst"} | ||
requires-python = ">=3.8" | ||
|
||
dynamic = ["version"] | ||
[project.optional-dependencies] | ||
dev = ["pre-commit", "tox"] | ||
testing = ["pytest", "pytest-benchmark"] | ||
|
||
[tool.setuptools] | ||
packages = ["pluggy"] | ||
package-dir = {""="src"} | ||
package-data = {"pluggy" = ["py.typed"]} | ||
|
||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"I", # isort | ||
extend-select = [ | ||
"I", # isort | ||
"UP", | ||
] | ||
|
||
[tool.ruff.lint.isort] | ||
|
@@ -21,7 +61,7 @@ known-local-folder = ["pluggy"] | |
lines-after-imports = 2 | ||
|
||
[tool.setuptools_scm] | ||
write_to = "src/pluggy/_version.py" | ||
version_file = "src/pluggy/_version.py" | ||
|
||
[tool.towncrier] | ||
package = "pluggy" | ||
|
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