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

chore: some touchups & 3.12 classifier #539

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

henryiii
Copy link
Contributor

Some small changes that might be helpful. Comments will be inline.

@henryiii henryiii force-pushed the henryiii/chore/312+ branch 2 times, most recently from 5f14140 to 73c3689 Compare June 14, 2023 18:57
@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Patch coverage: 66.66% and no project coverage change.

Comparison is base (f2af601) 70.20% compared to head (fd86380) 70.20%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #539   +/-   ##
=======================================
  Coverage   70.20%   70.20%           
=======================================
  Files          13       13           
  Lines        1074     1074           
=======================================
  Hits          754      754           
  Misses        320      320           
Impacted Files Coverage Δ
src/wheel/bdist_wheel.py 47.26% <0.00%> (ø)
src/wheel/wheelfile.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -18,6 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Copy link
Contributor Author

@henryiii henryiii Jun 14, 2023

Choose a reason for hiding this comment

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

Since we are testing on the 3.12 betas, makes sense to add this after #529.

@@ -98,26 +99,28 @@ select = [
"I", # isort
"PGH", # pygrep-hooks
"UP", # pyupgrade
"B0", # flake8-bugbear
"B", # flake8-bugbear
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure partial codes like this this works in Ruff. It also is smarter about enabling B9* codes since it knows your min Python version supported.

Comment on lines +120 to +119
package = wheel
wheel_build_env = .pkg
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This speeds up the testing by pre-building the wheel once for all Python versions (Tox 4 feature).

depends = lint
commands = {envpython} -b -m pytest {posargs}
commands = {env_python} -b -m pytest {posargs}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Either work, guessing this is the newer, preferred spelling.

src/wheel/bdist_wheel.py Show resolved Hide resolved
@henryiii henryiii force-pushed the henryiii/chore/312+ branch from 73c3689 to 967ad3c Compare July 3, 2023 18:43
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/chore/312+ branch from 967ad3c to fd86380 Compare July 3, 2023 19:11
@henryiii henryiii marked this pull request as ready for review July 3, 2023 19:21
@henryiii
Copy link
Contributor Author

henryiii commented Jul 3, 2023

Since #529 went in, this is ready, I think.

@agronholm agronholm merged commit 9fd929f into pypa:main Jul 3, 2023
@agronholm
Copy link
Contributor

Thanks.

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.

2 participants