-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 distutils-b53a824ec3
- Loading branch information
Showing
450 changed files
with
72,710 additions
and
135 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,6 @@ | ||
[bumpversion] | ||
current_version = 60.5.4 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:setup.cfg] |
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,6 @@ | ||
comment: false | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
threshold: 0.5% |
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,7 @@ | ||
[run] | ||
omit = | ||
# leading `*/` for pytest-dev/pytest-cov#456 | ||
*/.tox/* | ||
|
||
[report] | ||
show_missing = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
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 |
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,15 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
|
||
# jaraco/skeleton#34 | ||
max-complexity = 10 | ||
|
||
extend-exclude = | ||
build | ||
setuptools/_vendor | ||
setuptools/_distutils | ||
pkg_resources/_vendor | ||
|
||
extend-ignore = | ||
# Black creates whitespace before colon | ||
E203 |
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 @@ | ||
tidelift: pypi/setuptools |
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,118 @@ | ||
--- | ||
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. | ||
placeholder: | | ||
1. Integrate 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 | ||
|
||
... |
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,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 |
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,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 | ||
... |
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,104 @@ | ||
--- | ||
name: ✨ Feature request | ||
description: Suggest an idea for setuptools | ||
title: '[FR] ' | ||
labels: | ||
- enhancement | ||
- Needs Triage | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
**Thank you for wanting to suggest a feature for setuptools!** | ||
💡 | ||
Before you go ahead with your request, please first consider if it | ||
would be useful for majority of the setuptools users. As a general | ||
rule of thumb, any feature that is only of interest to a small sub | ||
group should be implemented in a third-party plugin or maybe even | ||
just your project alone. Be mindful of the fact that the core | ||
setuptools features have a broad impact. | ||
<details> | ||
<summary> | ||
❗ Every change breaks someone's workflow. | ||
</summary> | ||
[![❗ Every change breaks someone's workflow.](https://imgs.xkcd.com/comics/workflow.png) | ||
](https://xkcd.com/1172/) | ||
</details> | ||
⚠ | ||
Verify first that your idea is not [already requested on GitHub][issue search]. | ||
[issue search]: https://github.com/pypa/setuptools/search?q=is%3Aissue&type=issues | ||
- type: textarea | ||
attributes: | ||
label: What's the problem this feature will solve? | ||
description: >- | ||
What are you trying to do, that you are unable to achieve | ||
with setuptools as it currently stands? | ||
placeholder: >- | ||
I'm trying to do X and I'm missing feature Y for this to be | ||
easily achievable. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: > | ||
Clear and concise description of what you want to happen. | ||
Provide examples of real world use cases that this would enable | ||
and how it solves the problem described above. | ||
placeholder: >- | ||
When I do X, I want to achieve Y in a situation when Z. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Alternative Solutions | ||
description: >- | ||
Have you tried to workaround the problem using other tools? Or a | ||
different approach to solving this issue? Please elaborate here. | ||
placeholder: >- | ||
I tried doing X, Y and Z. But they are suboptimal because of P. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: > | ||
Add any other context, links, etc. about the feature here. | ||
Describe how the feature would be used, why it is needed and what | ||
it would solve. | ||
**HINT:** You can paste https://gist.github.com links for | ||
larger files. | ||
placeholder: >- | ||
I asked on https://stackoverflow.com/.... and the community | ||
advised me to do X, Y and Z. | ||
- 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 | ||
... |
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,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
allow: | ||
- dependency-type: "all" |
Oops, something went wrong.