Skip to content
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

switch to PEP 621 #2860

Merged
merged 15 commits into from
Nov 4, 2023
Merged

switch to PEP 621 #2860

merged 15 commits into from
Nov 4, 2023

Conversation

graingert
Copy link
Member

@graingert graingert commented Nov 4, 2023

This is a simpler version of https://github.com/python-trio/trio/pull/2449/files that keeps setuptools and continues parsing the version out of trio/_version.py rather than adding setuptools-scm

Copy link

codecov bot commented Nov 4, 2023

Codecov Report

Merging #2860 (19e63f2) into master (c63fd3c) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2860   +/-   ##
=======================================
  Coverage   99.18%   99.18%           
=======================================
  Files         115      115           
  Lines       17611    17611           
  Branches     3149     3149           
=======================================
  Hits        17468    17468           
  Misses         99       99           
  Partials       44       44           
Files Coverage Δ
trio/_version.py 100.00% <ø> (ø)

ci.sh Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
.coveragerc Show resolved Hide resolved
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
newsfragments/2860.misc.rst Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
]
requires-python = ">=3.8"
dependencies = [
# attrs 19.2.0 adds `eq` option to decorators
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to keep this comment about some older version boundary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments were in the original setup.py so I maintained them in the pyproject.toml

"idna",
"outcome",
"sniffio >= 1.3.0",
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same: the older version comment is probably unnecessary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments were in the original setup.py so I maintained them in the pyproject.toml

pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
trio/_version.py Outdated Show resolved Hide resolved
graingert and others added 2 commits November 4, 2023 21:52
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
@graingert graingert merged commit 549f46c into python-trio:master Nov 4, 2023
30 of 31 checks passed
@A5rocks
Copy link
Contributor

A5rocks commented Nov 5, 2023

Sorry, didn't see this. Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants