Skip to content

3rdigen/issue3511 #4527

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7547 commits
Select commit Hold shift + click to select a range
9208648
[Docs] Add migration for `distutils.core.Command`
abravalheri Jan 6, 2023
ac9d7d2
Merge pull request #3750 from pypa/abravalheri-doc-patch-1
abravalheri Jan 7, 2023
ea531c1
Merge: Improve example docs for setup.cfg and pyproject.toml (#3712)
abravalheri Jan 11, 2023
2be567a
Merge: Fixes incomplete getattr statement (#3714)
abravalheri Jan 11, 2023
ee4d6f1
Merge: Add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDE (#3715)
abravalheri Jan 11, 2023
88018bf
Improve code formatting
abravalheri Jan 11, 2023
8019ad7
Merge: Catching excption from utime and providing human-readable erro…
abravalheri Jan 11, 2023
4305841
Docs: Modify table for tool.setuptools.dynamic to mention content-type
abravalheri Jan 11, 2023
2a89d67
Merge: Docs: Modify table for tool.setuptools.dynamic to mention cont…
abravalheri Jan 11, 2023
79673cb
Bump version: 65.6.3 → 65.7.0
abravalheri Jan 11, 2023
5f9df7b
docs: Remove repeated mention of LDFLAGS environment variable
matthewfeickert Jan 11, 2023
583836f
Docs: Remove repeated mention of LDFLAGS environment variable (#3766)
abravalheri Jan 12, 2023
d24c9af
Update vendored transitive dependencies.
jaraco Jan 13, 2023
51e3e25
⚫ Fade to black.
jaraco Jan 13, 2023
2ad7228
⚫ Fade to black.
jaraco Jan 13, 2023
12123d9
Replace appdirs with platformdirs.
jaraco Jan 13, 2023
2ba18b2
Extract method for resolving the dist. Fixes complexity lint.
jaraco Jan 13, 2023
4f23e97
Add typing extensions for compatibility with Python 3.7.
jaraco Jan 13, 2023
0c79039
Update changelog
jaraco Jan 13, 2023
20efb6f
Use Sphinx :pep: role to link directly to PEPs
hugovk Jan 14, 2023
82eee6a
Merge pull request #3769 from pypa/feature/update-deps
jaraco Jan 14, 2023
245da54
Merge branch 'main' into debt/remove-legacy-version
jaraco Jan 14, 2023
310a41c
⚫ Fade to black.
jaraco Jan 14, 2023
0a6cd4f
Update test_invalid_version to expect failure.
jaraco Jan 14, 2023
f964b01
Merge branch 'main' into debt/lint
jaraco Jan 14, 2023
ef49c0a
Merge pull request #3768 from pypa/debt/lint
jaraco Jan 16, 2023
217d926
Merge pull request #2822 from pypa/debt/remove-legacy-version
jaraco Jan 16, 2023
03f0732
Bump version: 65.7.0 → 66.0.0
jaraco Jan 16, 2023
69a832f
Link directly to PEPs
hugovk Jan 16, 2023
7541ea7
DOC: fix section for python_requires in setup.cfg
mwtoews Jan 18, 2023
ca3198a
DOC: fix section for python_requires in setup.cfg (#3774)
abravalheri Jan 18, 2023
6653e74
Wrap deprecated pkgutil usage in pkg_resources in conditional
abravalheri Nov 15, 2022
839dc59
Remove conditional for FileFinder in pkg_resources
abravalheri Nov 15, 2022
87518dd
Add news fragment
abravalheri Nov 15, 2022
c668625
Add informative notes for the InvalidVersion error (LegacyVersion rem…
abravalheri Jan 18, 2023
30c8c9b
Avoid unecessarily lengthy traceback
abravalheri Jan 18, 2023
f9e01d2
ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is …
jaraco Jan 19, 2023
596d9db
Capture expectation about file: directive in setup.cfg to be in the s…
abravalheri Jan 19, 2023
4e76683
Add files referenced by file: directive in setup.cfg to sdist
abravalheri Jan 19, 2023
7954b85
Capture expectation about file directive in pyproject.toml to be in t…
abravalheri Jan 19, 2023
36537a9
Add files referenced by 'file=' directive in pyproject.toml to sdist
abravalheri Jan 19, 2023
ac0a9e7
Expand test to account for pyproject's readme
abravalheri Jan 19, 2023
902385f
Refactor tests for file directive
abravalheri Jan 19, 2023
7285f00
Ensure file referenced by 'readme' in pyproject.toml is added to sdist
abravalheri Jan 19, 2023
bad9272
Capture expectations about 'project.license.file' in pyproject.toml
abravalheri Jan 19, 2023
9b8f44f
Ensure file referenced by 'license.file' in pyproject.toml is added t…
abravalheri Jan 19, 2023
4fadb95
Make deprecation warning more visible and mention --use-pep517
abravalheri Jan 19, 2023
e09ae2f
Revert "Make deprecation warning more visible and mention --use-pep517"
abravalheri Jan 19, 2023
bf9b14c
Update setuptools sdist docs warning
Sinclert Jan 12, 2023
b512820
Adapt note about file directive and MANIFEST.in
abravalheri Jan 19, 2023
8e0e508
Add news fragment
abravalheri Jan 19, 2023
9ad7d34
Log referenced files when logging
abravalheri Jan 20, 2023
7976b15
Add news fragment
abravalheri Jan 20, 2023
3c64107
Remove empty line in news fragment
abravalheri Jan 20, 2023
58fa95e
Add versionchanged note to docs
abravalheri Jan 20, 2023
cf9351d
Automatically add files referenced by configuration to sdist (#3779)
abravalheri Jan 20, 2023
f45c54a
Add informative notes for the InvalidVersion error (#3776)
abravalheri Jan 20, 2023
d348fdf
Docs: Link directly to PEPs (#3770)
abravalheri Jan 20, 2023
e03f883
Flip conditionals around package finders in pkg_resources (#3685)
abravalheri Jan 20, 2023
f23c915
Bump version: 66.0.0 → 66.1.0
abravalheri Jan 20, 2023
7d35a38
Capture expectations of issue 3781
abravalheri Jan 20, 2023
68d7376
Account for file directive with string in pyproject.toml
abravalheri Jan 20, 2023
3d021ce
Add news fragment
abravalheri Jan 20, 2023
5f850a2
Delay import
abravalheri Jan 20, 2023
545ed8b
Avoid exhausting iterator
abravalheri Jan 20, 2023
e99c7e0
Account for windows paths in tests
abravalheri Jan 20, 2023
0a15141
Handle strings in pyprject.toml's tool.setuptools.dynamic.*.file (#3782)
abravalheri Jan 20, 2023
a81b130
Bump version: 66.1.0 → 66.1.1
abravalheri Jan 20, 2023
9f783ac
Remove msvc hack for Numpy < 1.11.2
mgorny Dec 30, 2022
c3441cb
Fix dependency syntax error in test_dist_info
mgorny Jan 21, 2023
cf350e7
Merge pull request #3787 from mgorny/dist-info-test
abravalheri Jan 21, 2023
23c7a01
Fix version syntax in test_nowarn_accidental_env_marker_misconfig
mgorny Jan 21, 2023
56ef50b
Merge pull request #3788 from mgorny/test-inva-vers
abravalheri Jan 21, 2023
40911c1
Merge pull request #3741 from mgorny/msvc-hack
jaraco Jan 21, 2023
53b4bea
Update vendored packaging/jaraco.context for setuptools
abravalheri Jan 23, 2023
2aad1a0
Update vendored packaging/jaraco.context for pkg_resources
abravalheri Jan 23, 2023
e44e525
Update pkg_resources errors to be compatible with newer packaging
abravalheri Jan 23, 2023
0a4de62
Update test expectations to match new packaging version
abravalheri Jan 23, 2023
e2180b2
Update implementation to consider new packaging exceptions
abravalheri Jan 23, 2023
0c106bf
Update docs to clarify dangling list
abravalheri Jan 23, 2023
459e23e
Remove pypackaging from extern in setuptools
abravalheri Jan 23, 2023
e969301
Remove pypackaging from extern in pkg_resources
abravalheri Jan 23, 2023
3454246
Fix error in docs
abravalheri Jan 23, 2023
e48bbc6
Add news fragment
abravalheri Jan 23, 2023
6510d12
Update `packaging` to 23.0 (#3790)
abravalheri Jan 23, 2023
6050634
Replace pkg_resources in version.py
abravalheri Jan 20, 2023
ec238c4
Extract normalization functions from editable_wheel and dist_info int…
abravalheri Jan 23, 2023
3c48e7c
Prefer setuptools._normalization instead of pkg_resources in develop.py
abravalheri Jan 23, 2023
daadc5a
Prefer setuptools._normalization and importlib_metadata instead of pk…
abravalheri Jan 23, 2023
61ad58b
Prefer setuptools._normalization instead of pkg_resources in egg_info.py
abravalheri Jan 23, 2023
f8f56bc
Prefer packaging instead of pkg_resources in egg_info.py
abravalheri Jan 23, 2023
6f93ec7
Prefer packaging instead of pkg_resources in dist.py for markers
abravalheri Jan 23, 2023
ea6df15
Implement alternative for pkg_resources.Distribution.egg_name in egg_…
abravalheri Jan 23, 2023
cbd0cb7
Prefer alternative from egg_info.py to pkg_resources.Distribution.egg…
abravalheri Jan 23, 2023
1cfd18b
Prefer packaging instead for pkg_resources for version in wheel.py
abravalheri Jan 23, 2023
dd7b8fb
Modify _reqs.py to prefer prefer packaging instead of pkg_resources
abravalheri Jan 23, 2023
e5681c0
Centralize usage of pkg_resources from dist.py to installer.py
abravalheri Jan 24, 2023
99b7b64
Delay imports of pkg_resources in install_scripts.py
abravalheri Jan 24, 2023
5e7b76f
Replace/move _normalization.path with/to _path.samepath and _path.nor…
abravalheri Jan 24, 2023
33f3243
Fix dist-info naming discrepancy in relation to bdist_wheel
abravalheri Jan 24, 2023
3736cbc
Revert to using normalized paths in develop to fix test errors
abravalheri Jan 24, 2023
7ced705
Make __file__ an absolute path in setuptools.build_meta
hauntsaninja Jan 25, 2023
20b57cf
changelog entry
hauntsaninja Jan 25, 2023
a673186
add a test
hauntsaninja Jan 25, 2023
4523ba3
dedicated test
hauntsaninja Jan 25, 2023
3959c44
Update generated validation code using validate_pyproject==0.12
abravalheri Jan 25, 2023
fc1c493
Add news fragment
abravalheri Jan 25, 2023
a60c231
Bump 'validate-pyproject' to 0.12.1
abravalheri Jan 27, 2023
3caad6e
Update generated validation code using validate_pyproject==0.12.1
abravalheri Jan 27, 2023
21d138e
Update news fragment
abravalheri Jan 27, 2023
284359e
Enable default encoding warning where available. See PEP 597.
jaraco Jan 27, 2023
f18255f
Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pyt…
jaraco Jan 27, 2023
0d9c6f0
Exempt warning. Workaround for realpython/pytest-mypy#152
jaraco Jan 27, 2023
2ab03c7
Bump version: 66.1.1 → 67.0.0
jaraco Jan 28, 2023
de9cd7e
Make __file__ an absolute path in setuptools.build_meta (#3795)
abravalheri Feb 1, 2023
455704c
Update generated validation code using validate_pyproject==0.12.1 (#3…
abravalheri Feb 1, 2023
8032430
Bump version: 67.0.0 → 67.1.0
abravalheri Feb 1, 2023
51bf756
Allow None to be passed to egg_basename
abravalheri Feb 1, 2023
f448b95
Add xfail test capturing missed expectation. Ref pypa/distutils#178.
jaraco Feb 6, 2023
ff9b6d1
In _get_python_inc_posix, only return an extant path from the sysconf…
jaraco Feb 6, 2023
5f1d979
Merge failing test commit 'f448b' into bugfix/178-include-posix-prefix
jaraco Feb 6, 2023
2fe57ea
Merge pull request #198 from hugovk/pep-redirect
jaraco Feb 6, 2023
b504971
Merge pull request #191 from DimitriPapadopoulos/refurb
jaraco Feb 6, 2023
ca3195b
Merge pull request #190 from DimitriPapadopoulos/actions
jaraco Feb 6, 2023
67bb76c
⚫ Fade to black.
jaraco Feb 6, 2023
fb2a173
Merge pull request #200 from pypa/bugfix/178-include-posix-prefix
jaraco Feb 6, 2023
e32c71f
Fix typos found by codespell
DimitriPapadopoulos Nov 20, 2022
0171aee
Merge pull request #197 from GalaxySnail/fix-mingw-w64
jaraco Feb 6, 2023
a83ea62
Merge pull request #188 from DimitriPapadopoulos/codespell
jaraco Feb 6, 2023
3944f4e
Merge pull request #189 from DimitriPapadopoulos/tests
jaraco Feb 6, 2023
8bf0435
Merge pull request #195 from fweimer-rh/c99
jaraco Feb 6, 2023
53f297d
add a pypy CI run
mattip Feb 6, 2023
c2bc813
Revert "Merge pull request #197 from GalaxySnail/fix-mingw-w64"
jaraco Feb 6, 2023
e2264e5
Fix MinGW-w64 segmentation fault
GalaxySnail Feb 6, 2023
6324549
Fixed accumulating include dirs after compile
mrbean-bremen Jan 18, 2023
2f16327
Mark test as xfail on Windows. Ref pypa/distutils#195.
jaraco Feb 6, 2023
7e751d3
distutils.ccompiler: Remove correct executable file on Windows
fweimer-rh Feb 6, 2023
8fe7b5f
Merge pull request #202 from GalaxySnail/fix-mingw-w64-2
jaraco Feb 6, 2023
854862f
Merge pull request #203 from fweimer-rh/ccompiler-windows
jaraco Feb 6, 2023
1efd3d5
Merge pull request #201 from mattip/pypy2
jaraco Feb 6, 2023
8c3c3d2
Merge pull request #199 from mrbean-bremen/issue3591
jaraco Feb 6, 2023
43c6ee4
Merge https://github.com/pypa/distutils into distutils-8c3c3d29
jaraco Feb 6, 2023
47c7cfd
Add changelog (draft)
jaraco Feb 6, 2023
bb17d4f
Merge pull request #3809 from pypa/distutils-8c3c3d29
jaraco Feb 7, 2023
f75c628
Bump version: 67.1.0 → 67.2.0
jaraco Feb 7, 2023
5f095d1
Add #upstream markers for filtered warnings. Add filter for platform …
jaraco Feb 7, 2023
6f7ac88
Remove reference to EncodingWarning as it doesn't exist on some Pythons.
jaraco Feb 9, 2023
07a9cd6
Merge https://github.com/jaraco/skeleton
jaraco Feb 12, 2023
c8a6a4a
Do not error on EncodingWarning. Instead emit them like usual. Ref #3810
jaraco Feb 12, 2023
3c87fb9
Remove editable_wheel "catch all" exception
abravalheri Feb 13, 2023
8abf6dc
Update note about SETUPTOOLS_ENABLE_FEATURES
abravalheri Feb 13, 2023
23abfb8
Use warning in editable since pip hides PEP 678 notes
abravalheri Feb 13, 2023
a85b393
Clarify 'editable_wheel' and 'dist_info' are internal commands only
abravalheri Feb 13, 2023
f974efe
Improve warning message
abravalheri Feb 13, 2023
65e3a8c
Add test for debugging tips
abravalheri Feb 13, 2023
e9c05e0
Add news fragment
abravalheri Feb 13, 2023
2177e1f
Add DeprecationWarning to `pkg_resources.declare_namespace`
abravalheri Jul 6, 2022
7066963
Add news fragment
abravalheri Jul 7, 2022
81e1137
Add information on why namespace_packages are deprecated
abravalheri Feb 13, 2023
de2361c
Add links explaining deprecations
abravalheri Feb 13, 2023
bc5f3c3
Improve editable_wheel debugging tips (#3822)
abravalheri Feb 13, 2023
52c6055
Reduce usage of pkg_resources (#3792)
abravalheri Feb 13, 2023
925a792
Add a DeprecationWarning to pkg_resources.declare_namespace (#3434)
abravalheri Feb 13, 2023
c9513a5
Add news items for 3792
abravalheri Feb 13, 2023
2bda269
Small rewording for user-facing text/docs
abravalheri Feb 13, 2023
bd37bfc
Bump version: 67.2.0 → 67.3.0
abravalheri Feb 13, 2023
c428a57
Fix error when integrating with pip
abravalheri Feb 14, 2023
3ed7b70
Add news fragment
abravalheri Feb 14, 2023
19cbbad
Fix error when integrating with pip (#3823)
abravalheri Feb 14, 2023
51191fa
Bump version: 67.3.0 → 67.3.1
abravalheri Feb 14, 2023
a07e918
Update bug-report to mention minimal reproducers
abravalheri Feb 15, 2023
e302531
Make clear which package is calling pkg_resources.declare_namespaces
abravalheri Feb 15, 2023
20a701f
Add news fragment
abravalheri Feb 15, 2023
c89c643
Make clear which package is calling declare_namespaces (#3827)
abravalheri Feb 15, 2023
b9bf2ec
Bump version: 67.3.1 → 67.3.2
abravalheri Feb 15, 2023
b022b25
distutils.ccompiler.CCompiler.has_function: Quote #include argument
fweimer-rh Feb 15, 2023
9650fc1
Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
jaraco Feb 16, 2023
56cdf46
Disable couldnt-parse warnings. Prescribed workaround for nedbat/cove…
jaraco Feb 17, 2023
5774273
Mention limitation in editable docs
abravalheri Feb 15, 2023
041bbf0
Document limitation of editable installs on docs (#3831)
abravalheri Feb 17, 2023
0ceb3bc
Update vendored importlib_*
abravalheri Feb 17, 2023
97ee678
Fix typo in docs/userguide/extension.rst
hbielenia Feb 18, 2023
1b7838d
Merge pull request #3834 from hbielenia/fix-userguide/extension-typo
abravalheri Feb 18, 2023
abd6dbb
Add reference to setuptools issue. Ref #3648.
jaraco Feb 20, 2023
4435cec
Merge pull request #205 from fweimer-rh/ccompiler-include
jaraco Feb 20, 2023
d809433
Merge https://github.com/pypa/distutils into distutils-4435cec3
jaraco Feb 20, 2023
dd5ae79
Update changelog.
jaraco Feb 20, 2023
10ff25c
Merge pull request #3835 from pypa/distutils-4435cec3
jaraco Feb 20, 2023
0fb3a5d
Bump version: 67.3.2 → 67.3.3
jaraco Feb 20, 2023
5f7816d
Add news fragment
abravalheri Feb 21, 2023
f4a7429
Update vendored importlib-* (#3832)
abravalheri Feb 21, 2023
c34b827
Bump version: 67.3.3 → 67.4.0
abravalheri Feb 21, 2023
9022a21
Merge https://github.com/jaraco/skeleton
jaraco Feb 23, 2023
4bce9df
Add FlatLayoutPackageFinder's test for Coverage.py
yukihiko-shinoda Feb 23, 2023
17aa0a6
Hotfix add htmlcov to FlatLayoutPackageFinder.DEFAULT_EXCLUDE
yukihiko-shinoda Feb 23, 2023
9bfb5bf
Add changelog entry
yukihiko-shinoda Feb 23, 2023
89e7f64
Remove htmlcov from auto **module** discovery
abravalheri Feb 27, 2023
46db21a
Adjust news fragment for more descriptiveness
abravalheri Feb 27, 2023
087912b
Improve error messages for pyproject.toml validation
abravalheri Feb 27, 2023
04ac2e1
Add news fragment
abravalheri Feb 27, 2023
80efd1c
Make pkg_resources more forgiving of non-compliant versions
abravalheri Feb 27, 2023
627e0bf
Remove duplication in warning message
abravalheri Feb 27, 2023
b495362
⚫ Fade to black.
jaraco Mar 5, 2023
f04a29a
Use renamed extension. Fixes #3844.
jaraco Mar 5, 2023
a1aeda3
Deprecate pkg_resources, removing excuse that 'discouraged is not dep…
jaraco Mar 5, 2023
eb46a88
Add changelog entry.
jaraco Mar 5, 2023
c446a06
Merge pull request #3843 from pypa/debt/deprecate-pkg_resources
jaraco Mar 5, 2023
c98d401
Bump version: 67.4.0 → 67.5.0
jaraco Mar 5, 2023
265356e
⚫ Fade to black.
jaraco Mar 6, 2023
fc03481
Use try/except in __setitem__.
jaraco Mar 6, 2023
965af23
Rename value to avoid masking variable.
jaraco Mar 6, 2023
f55e478
Trap exception directly instead of tracking with boolean.
jaraco Mar 6, 2023
aab7fa7
Resolve setter once.
jaraco Mar 6, 2023
997f671
Extract method for _section_options.
jaraco Mar 6, 2023
83c399a
Simplify _section_options using str.partition and a generator.
jaraco Mar 6, 2023
865d790
Fixed interaction between discovery and htmlcov (#3836)
abravalheri Mar 6, 2023
330035d
Improve error messages for pyproject.toml validation (#3838)
abravalheri Mar 6, 2023
94b583b
Add news fragment
abravalheri Mar 6, 2023
1640731
Make pkg_resources more forgiving of non-compliant versions (#3839)
abravalheri Mar 6, 2023
f51eccd
Bump version: 67.5.0 → 67.5.1
abravalheri Mar 6, 2023
d30dcf5
Add pruning heuristics to PackageFinder based on exclude
abravalheri Mar 7, 2023
ea4a205
Add news fragment
abravalheri Mar 7, 2023
2c23449
Cache supported tags for wheels.
mauritsvanrees Jan 31, 2023
8af6bd4
Use functools.lru_cache to cache supported tags for wheels.
mauritsvanrees Mar 7, 2023
02e28cd
Fix link to importlib.resources in the docs
Legorooj Mar 7, 2023
8961851
Simplify changes targeting sys_tags cache
abravalheri Mar 8, 2023
f175e2c
Prefer intersphinx to hardcoded importlib links
abravalheri Mar 8, 2023
f18f7ad
Change news fragment to misc
abravalheri Mar 8, 2023
2f4a3c0
Cache supported tags for wheels (#3805)
abravalheri Mar 8, 2023
e6f4bd7
Add pruning heuristics to PackageFinder based on exclude (#3846)
abravalheri Mar 8, 2023
7c60bc4
Docs: Fix link to importlib.resources in the docs (#3850)
abravalheri Mar 8, 2023
0031d7f
Adjust news fragments
abravalheri Mar 8, 2023
be6c021
Bump version: 67.5.1 → 67.6.0
abravalheri Mar 8, 2023
3ee4534
Clarify language re: function arguments
moshekaplan Mar 16, 2023
51362d4
Test warnings for dynamic scripts when entry-points is not dynamic
abravalheri Mar 20, 2023
d27b6b9
Fix '_WouldIgnoreField' warnings for scripts/gui_scripts
abravalheri Mar 20, 2023
16ee218
Add news fragment
abravalheri Mar 20, 2023
81fcd2a
Improve tests on license-files for pyproject.toml
abravalheri Mar 28, 2023
a3b4e88
Update code generated by validate-pyproject
abravalheri Mar 27, 2023
2e4be52
Add news entry
abravalheri Mar 28, 2023
520aa14
Fix warnings for scripts/gui_scripts with pyproject.toml (#3865)
abravalheri Mar 28, 2023
fa171f7
Update code generated by validate-pyproject (#3875)
abravalheri Mar 28, 2023
bd9e22b
Clarify language re: function arguments (#3861)
abravalheri Mar 28, 2023
245d72a
Bump version: 67.6.0 → 67.6.1
abravalheri Mar 28, 2023
975823a
Create README.rst
3rdigen Apr 20, 2023
94e26b2
Directory with an empty pyproject.toml files is built into an sdist+w…
3rdigen Jul 26, 2024
a135954
Directory with an empty pyproject.toml files is built into an sdist+w…
3rdigen Jul 27, 2024
9880f81
Directory with an empty pyproject.toml files is built into an sdist+w…
3rdigen Jul 27, 2024
7811f65
Directory with an empty pyproject.toml files is built into an sdist+w…
3rdigen Jul 30, 2024
a6b4b9a
Directory with an empty pyproject.toml files is built into an sdist+w…
3rdigen Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 40.8.0
current_version = 67.6.1
commit = True
tag = True

Expand Down
11 changes: 11 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
comment: false
coverage:
status:
project:
default:
informational: true # Treat coverage info as informational only
threshold: 0.5%
patch:
default:
informational: true # Treat coverage info as informational only
github_checks:
annotations: false # Codecov may pollute the "files" diff view
12 changes: 12 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[run]
omit =
# leading `*/` for pytest-dev/pytest-cov#456
*/.tox/*
disable_warnings =
couldnt-parse

# local
*/_validate_pyproject/* # generated code, tested in `validate-pyproject`

[report]
show_missing = True
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"image":"mcr.microsoft.com/devcontainers/universal:2"}
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
end_of_line = lf

[*.py]
indent_style = space
max_line_length = 88

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.rst]
indent_style = space
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[flake8]
max-line-length = 88

# jaraco/skeleton#34
max-complexity = 10

extend-exclude =
build
setuptools/_vendor
setuptools/_distutils
setuptools/config/_validate_pyproject/fastjsonschema_*
pkg_resources/_vendor

extend-ignore =
# Black creates whitespace before colon
E203
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tidelift: pypi/setuptools
123 changes: 123 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
---
name: 🐛 Bug report
description: >-
Create a report to help us improve when
something is not working correctly
title: '[BUG] '
labels:
- bug
- Needs Triage

body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a bug in setuptools!**


Verify first that your issue is not
[already reported on GitHub][issue search] and keep in mind and
keep in mind that we may have to keep the current behavior because
[every change breaks someone's workflow][XKCD 1172].
We try to be mindful about this.

Also test if the latest release and main branch are affected too.


If you are seeking community support, please consider
[starting a discussion][Discussions].


Thank you for your collaboration!


[Discussions]: https://github.com/pypa/setuptools/discussions

[issue search]: https://github.com/pypa/setuptools/search?q=is%3Aissue&type=issues

[XKCD 1172]: https://xkcd.com/1172/

- type: markdown
attributes:
value: >-
**Environment**
- type: input
attributes:
label: setuptools version
placeholder: For example, setuptools===60.4.2
validations:
required: true
- type: input
attributes:
label: Python version
placeholder: For example, Python 3.10
validations:
required: true
- type: input
attributes:
label: OS
placeholder: For example, Gentoo Linux, RHEL 8, Arch Linux, macOS etc.
validations:
required: true
- type: textarea
attributes:
label: Additional environment information
description: >-
Feel free to add more information about your environment here.
placeholder: >-
This is only happening when I run setuptools on my fridge's patched firmware 🤯

- type: textarea
attributes:
label: Description
description: >-
A clear and concise description of what the bug is.
placeholder: >-
I tried doing X and I expected it to result in Y because the docs
mentioned Z but what happened next what totally unexpected!
And here's why...
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: >-
A clear and concise description of what you expected to happen.
placeholder: >-
I tried doing X and I expected it to result in Y. I'm confused...
validations:
required: true

- type: textarea
attributes:
label: How to Reproduce
description: >-
Describe the steps to reproduce this bug.

Please try to create a [minimal reproducer](https://stackoverflow.com/help/minimal-reproducible-example),
and avoid things like "see the steps in the CI logs".
placeholder: |
1. Clone a simplified example: `git clone ...`
2. Create a virtual environment for isolation with `...`
2. Build the project with setuptools via '...'
2. Then run '...'
3. An error occurs.
validations:
required: true

- type: textarea
attributes:
label: Output
description: >-
Paste the output of the steps above, including the commands
themselves and setuptools' output/traceback etc.
value: |
```console

```
validations:
required: true

...
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
contact_links:
- name: 🤔 Have questions or need support?
url: https://github.com/pypa/setuptools/discussions
about: This is a place for the community to exchange ideas and recipes
- name: 💬 Discourse
url: https://discuss.python.org/c/packaging
about: |
Please ask typical Q&A here: general ideas for Python packaging,
questions about structuring projects and so on
- name: 💬 Discord (chat)
url: https://discord.com/invite/pypa
about: Chat with devs
91 changes: 91 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
name: 📝 Documentation Report
title: '[Docs] '
description: Ask us about docs
labels:
- documentation
- Needs Triage

body:
- type: markdown
attributes:
value: >
**Thank you for wanting to report a problem with setuptools
documentation!**


Please fill out your suggestions below. If the problem seems
straightforward, feel free to go ahead and
submit a pull request instead!


Verify first that your issue is not [already reported on
GitHub][issue search].


If you are seeking community support, please consider
[starting a discussion][Discussions].


Thank you for your collaboration!


[issue search]: https://github.com/pypa/setuptools/search?q=is%3Aissue&type=issues

[Discussions]: https://github.com/pypa/setuptools/discussions

- type: textarea
attributes:
label: Summary
description: >
Explain the problem briefly below, add suggestions to wording
or structure.


**HINT:** Did you know the documentation has a `View on GitHub`
link on every page? Feel free to use it to start a pull request
right from the GitHub UI!
placeholder: >-
I was reading the setuptools documentation of version X and I'm
having problems understanding Y. It would be very helpful if that
got rephrased as Z.
validations:
required: true

- type: textarea
attributes:
label: OS / Environment
description: >-
Provide all relevant information below, e.g. OS version,
browser, etc.
placeholder: Fedora 33, Firefox etc.


- type: textarea
attributes:
label: Additional Information
description: >
Describe how this improves the documentation, e.g. before/after
situation or screenshots.


**HINT:** You can paste https://gist.github.com links for larger files.
placeholder: >-
When the improvement is applied, it makes it more straightforward
to understand X.
validations:
required: true


- type: checkboxes
attributes:
label: Code of Conduct
description: |
Read the [PSF Code of Conduct][CoC] first.

[CoC]: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
options:
- label: I agree to follow the PSF Code of Conduct
required: true
...
Loading