Skip to content

Commit f7840a4

Browse files
authored
Remove GitHub attestation, PyPI attestation is enough (#98)
2 parents 2fb1353 + 066407f commit f7840a4

3 files changed

Lines changed: 0 additions & 22 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
needs: build-package
4242

4343
permissions:
44-
attestations: write
4544
id-token: write
4645

4746
steps:
@@ -51,15 +50,9 @@ jobs:
5150
name: Packages
5251
path: dist
5352

54-
- name: Attest build provenance
55-
uses: actions/attest-build-provenance@v2
56-
with:
57-
subject-path: "dist/*"
58-
5953
- name: Upload package to Test PyPI
6054
uses: pypa/gh-action-pypi-publish@release/v1
6155
with:
62-
attestations: true
6356
repository-url: https://test.pypi.org/legacy/
6457

6558
# Upload to real PyPI on GitHub Releases.
@@ -72,7 +65,6 @@ jobs:
7265
needs: build-package
7366

7467
permissions:
75-
attestations: write
7668
id-token: write
7769

7870
steps:
@@ -82,12 +74,5 @@ jobs:
8274
name: Packages
8375
path: dist
8476

85-
- name: Attest build provenance
86-
uses: actions/attest-build-provenance@v2
87-
with:
88-
subject-path: "dist/*"
89-
9077
- name: Upload package to PyPI
9178
uses: pypa/gh-action-pypi-publish@release/v1
92-
with:
93-
attestations: true

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,8 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
8686
max_supported_python = "3.14"
8787

8888
[tool.pytest.ini_options]
89-
addopts = "-W error::DeprecationWarning"
9089
testpaths = [ "tests" ]
9190

92-
[tool.coverage.run]
93-
disable_warnings = [
94-
"no-sysmon",
95-
]
9691
[tool.coverage.report]
9792
# Regexes for lines to exclude from consideration
9893
exclude_also = [

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ extras =
1111
tests
1212
pass_env =
1313
FORCE_COLOR
14-
set_env =
15-
COVERAGE_CORE = sysmon
1614
commands =
1715
coverage erase
1816
{envpython} -m pytest \

0 commit comments

Comments
 (0)