Skip to content

Commit 7315375

Browse files
authored
Merge pull request #4211 from pypa/debt/sync-skeleton
Merge latest skeleton
2 parents 24c6db6 + 898ab1a commit 7315375

18 files changed

+23
-27
lines changed

.coveragerc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ disable_warnings =
1010

1111
[report]
1212
show_missing = True
13+
exclude_also =
14+
# jaraco/skeleton#97
15+
@overload
16+
if TYPE_CHECKING:

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ python:
77

88
# required boilerplate readthedocs/readthedocs.org#10401
99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-lts-latest
1111
tools:
12-
python: "3"
12+
python: latest

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.. image:: https://img.shields.io/readthedocs/setuptools/latest.svg
1515
:target: https://setuptools.pypa.io
1616

17-
.. image:: https://img.shields.io/badge/skeleton-2023-informational
17+
.. image:: https://img.shields.io/badge/skeleton-2024-informational
1818
:target: https://blog.jaraco.com/skeleton
1919

2020
.. image:: https://img.shields.io/codecov/c/github/pypa/setuptools/master.svg?logo=codecov&logoColor=white

ruff.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ exclude = [
3838
"setuptools/_distutils",
3939
"setuptools/config/_validate_pyproject",
4040
]
41+
# Enable preview, required for quote-style = "preserve"
42+
preview = true
4143
# https://docs.astral.sh/ruff/settings/#format-quote-style
4244
quote-style = "preserve"

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ install_requires =
3030

3131
[options.packages.find]
3232
exclude =
33-
build*
34-
dist*
35-
docs*
36-
tests*
3733
*.tests
3834
*.tests.*
3935
tools*

setuptools/depends.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def extract_constant(code, symbol, default=-1):
161161

162162
return None
163163

164+
164165
def _update_globals():
165166
"""
166167
Patch the globals to remove the objects not available on some platforms.

setuptools/py311compat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import sys
22

33

4+
__all__ = ['tomllib']
5+
6+
47
if sys.version_info >= (3, 11):
58
import tomllib
69
else: # pragma: no cover

setuptools/tests/integration/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def run(cmd, env=None):
1616
r = subprocess.run(
1717
cmd,
1818
capture_output=True,
19-
universal_newlines=True,
19+
text=True,
2020
env={**os.environ, **(env or {})},
2121
# ^-- allow overwriting instead of discarding the current env
2222
)

setuptools/tests/server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Basic http server for tests to simulate PyPI or custom indexes
2-
"""
1+
"""Basic http server for tests to simulate PyPI or custom indexes"""
32

43
import os
54
import time

setuptools/tests/test_bdist_deprecations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""develop tests
2-
"""
1+
"""develop tests"""
32

43
import sys
54
from unittest import mock

0 commit comments

Comments
 (0)