Skip to content

switch to PEP 621 - #2860

Merged
graingert merged 15 commits into
python-trio:masterfrom
graingert:pyproject-toml
Nov 4, 2023
Merged

graingert merged 15 commits into
python-trio:masterfrom
graingert:pyproject-toml

Conversation

@graingert

@graingert graingert commented Nov 4, 2023 •

Copy link
Copy Markdown
Member

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

@graingert
graingert requested a review from A5rocks November 4, 2023 10:39
@codecov

codecov Bot commented Nov 4, 2023 •

Copy link
Copy Markdown

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% <ø> (ø)

Comment thread ci.sh Resolved
Comment thread pyproject.toml Resolved
Comment thread pyproject.toml Resolved
Comment thread pyproject.toml Resolved
Comment thread pyproject.toml Resolved
Comment thread pyproject.toml Resolved
Comment thread .coveragerc Resolved
@graingert
graingert requested a review from agronholm November 4, 2023 11:42
Co-authored-by: Thomas Grainger <[email protected]>
Comment thread newsfragments/2860.misc.rst Resolved
Comment thread pyproject.toml Resolved
Comment thread pyproject.toml
]
requires-python = ">=3.8"
dependencies = [
# attrs 19.2.0 adds `eq` option to decorators

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread pyproject.toml
"idna",
"outcome",
"sniffio >= 1.3.0",
# cffi 1.12 adds from_buffer(require_writable=True) and ffi.release()

Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread pyproject.toml Resolved
Comment thread pyproject.toml Resolved
Comment thread trio/_version.py Resolved
graingert and others added 2 commits November 4, 2023 21:52
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
@graingert
graingert requested a review from webknjaz November 4, 2023 21:54
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Comment thread newsfragments/2860.misc.rst Resolved
@graingert
graingert enabled auto-merge November 4, 2023 21:58
@graingert
graingert merged commit 549f46c into python-trio:master Nov 4, 2023
@A5rocks

A5rocks commented Nov 5, 2023

Copy link
Copy Markdown
Contributor

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.

5 participants