Henry Schreiner
ec9919a088
chore: add Ruff logging format check
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 12:01:08 -04:00
Henry Schreiner
1512427455
chore: touch up Ruff, add exe check
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 12:00:35 -04:00
Henry Schreiner
440e18c275
chore: minor cleanup ( #1475 )
2023-04-18 06:06:18 -07:00
063161f5af
[pre-commit.ci] pre-commit autoupdate ( #1468 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.261](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.260...v0.0.261 )
- [github.com/pre-commit/mirrors-mypy: v1.1.1 → v1.2.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.1.1...v1.2.0 )
* chore: update for mypy bug
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-17 14:06:56 -04:00
Henry Schreiner
2246313344
fix: verbosity isn't supported for pypa/build ( #1474 )
...
This was incorrectly adding an empty config setting, and it was not correct if included for build - it's a pip wheel only setting. Reported in #1471 .
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-17 14:06:45 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
fdc0eae932
[Bot] Update dependencies ( #1472 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2023-04-17 14:06:31 -04:00
David Lechner
fa72100d49
fix: overwriting wheel on windows shouldn't break ( #1464 )
...
fix overwriting wheel on windows
This is the same fix as #1129 but for Windows this time.
2023-04-17 14:06:14 -04:00
Joe Rickerby
7c9b837780
Merge pull request #1461 from hoodmane/platform-interface
...
chore: Add a PlatformModule type
2023-04-14 12:50:42 +01:00
Joe Rickerby
1c1df68a50
Merge pull request #1469 from hoodmane/remove-pydantic-from-examples
...
Remove pydantic from example lists
2023-04-14 12:49:48 +01:00
Joe Rickerby
4a9d2a37a9
Merge pull request #1462 from hoodmane/default-build-frontend
...
Set the default build_frontend to be "default" (which is still "pip")
2023-04-14 12:44:21 +01:00
Hood Chatham
05bf46f059
Remove pydantic from example lists
2023-04-10 15:13:41 -07:00
Joe Rickerby
420ef86679
Apply @henryiii's suggestion
2023-04-10 22:24:20 +01:00
Joe Rickerby
ae0ac92167
Use the platform object itself as the interface
2023-04-10 22:20:04 +01:00
Hood Chatham
26dd3f399e
chore: Add a platform_interface type to export from each platform
...
This avoids the repetition of the platform checks in __main__.py
by defining a dataclass with `get_python_configurations` and `build`.
2023-04-10 13:30:23 -07:00
Joe Rickerby
33f642dc0b
Merge pull request #1460 from hoodmane/chore-compute-platform
2023-04-10 22:22:04 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3ed1b65b3e
build(deps): bump peter-evans/create-pull-request from 4 to 5 ( #1467 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 18:53:08 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e0a01d9986
build(deps): bump pypa/gh-action-pypi-publish from 1.8.4 to 1.8.5 ( #1466 )
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.4 to 1.8.5.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.4...v1.8.5 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 18:49:01 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
c0873c9198
[Bot] Update dependencies ( #1465 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2023-04-10 18:48:35 +02:00
Hood Chatham
374d786812
Set pip as the default value of default
2023-04-08 18:26:09 -07:00
Hood Chatham
8a307031a9
Set the defualt build_frontend to be "default" (which is still "pip")
...
Instead of using pip as the default, set it to default. This way
each platform can choose independently what to do as the default
behavior.
This is intended as part of adding Pyodide support. Pyodide cannot
use pip as the build frontend. It always uses a modified pypa/build.
So if the build_frontend is explicitly set to pip we want to raise
an error. But if it's unset, then we should be able to tell and just
do what we want.
2023-04-07 15:56:17 -07:00
Hood Chatham
0036ac5254
Fix lints
2023-04-07 13:56:49 -07:00
Hood Chatham
2f3949953a
chore: factor out _compute_platform from build_in_directory
...
build_in_directory was ~140 lines long which is a bit long for my taste.
It also has a bunch of nested if statements which I don't prefer.
The first ~60 lines are computing the platform, so I factored those out
into helper methods which have clearer intent and less indentation.
2023-04-07 13:30:03 -07:00
Hood Chatham
d018570bc4
chore: add structurally typed GenericPythonConfiguration ( #1458 )
...
* Add structually typed GenericPythonConfiguration
Use structural typing for the return value of get_python_configurations
so that we don't have to specify a union of all possible PythonConfiguration
types
* address henryiii's comments
* Use Set in more places
2023-04-06 14:40:25 -04:00
Henry Schreiner
bd5294b3f3
tests: use uppercase envvar on Windows ( #1455 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-04 17:55:51 -04:00
Joe Rickerby
f16ccf4e3d
Merge pull request #1453 from pypa/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2023-04-04 10:27:42 +02:00
Joe Rickerby
e6c926f7f8
Merge pull request #1452 from pypa/dependabot/github_actions/pypa/gh-action-pypi-publish-1.8.4
...
build(deps): bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.4
2023-04-04 10:27:33 +02:00
Joe Rickerby
7c64170c33
Merge pull request #1451 from pypa/update-dependencies-pr
...
[Bot] Update dependencies
2023-04-04 10:27:24 +02:00
Joe Rickerby
177cb142b5
Merge pull request #1450 from pypa/joerick-patch-1
...
add warning about `cd /d` in test-command
2023-04-04 10:27:09 +02:00
pre-commit-ci[bot]
2d89ecc140
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.259 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.259...v0.0.260 )
2023-04-03 23:10:41 +00:00
dependabot[bot]
7106da2c6b
build(deps): bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.4
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.1 to 1.8.4.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.1...v1.8.4 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-03 13:57:34 +00:00
cibuildwheel-bot[bot]
03ece1f81d
Update dependencies
2023-04-03 06:13:24 +00:00
Joe Rickerby
93e1464e6a
some changes after seeing how this renders
2023-04-01 11:06:53 +01:00
Joe Rickerby
6e4dfaefad
add warning about cd /d in test-command
...
I wouldn't normally document OS features/quirks in our documentation, but here, it wasn't the user that changed the working dir to another drive, it was cibuildwheel, so it seems fair to note some gotchas.
2023-04-01 10:54:13 +01:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
a2efed2aeb
[Bot] Update dependencies ( #1443 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2023-03-29 10:40:16 -04:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
8812101cc6
[pre-commit.ci] pre-commit autoupdate ( #1444 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.257 → v0.0.259](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.257...v0.0.259 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-29 10:39:57 -04:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
a6028923d6
[pre-commit.ci] pre-commit autoupdate ( #1437 )
...
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.255 → v0.0.257](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.255...v0.0.257 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-20 21:11:04 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cd6c1409fb
build(deps): bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 ( #1436 )
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.7.1...v1.8.1 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 12:32:32 -04:00
Joe Rickerby
e049c2bd83
Merge pull request #1435 from pypa/update-dependencies-pr
...
[Bot] Update dependencies
2023-03-20 15:16:40 +00:00
cibuildwheel-bot[bot]
37c749e507
Update dependencies
2023-03-20 06:15:07 +00:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
04a0ca0e04
[Bot] Update dependencies ( #1431 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2023-03-14 15:22:33 -04:00
2c3e01287a
[pre-commit.ci] pre-commit autoupdate ( #1433 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.255](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.254...v0.0.255 )
- [github.com/pre-commit/mirrors-mypy: v1.0.1 → v1.1.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.0.1...v1.1.1 )
- [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](https://github.com/codespell-project/codespell/compare/v2.2.2...v2.2.4 )
* clean ruff warnings
* revert C4 -> C40 rename
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2023-03-14 15:22:17 -04:00
dependabot[bot]
b2d0292204
Merge pull request #1432 from pypa/dependabot/github_actions/pypa/gh-action-pypi-publish-1.7.1
2023-03-13 15:59:35 +00:00
dependabot[bot]
cd32569937
build(deps): bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.6.4 to 1.7.1.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.6.4...v1.7.1 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-13 13:57:27 +00:00
Joe Rickerby
02ad79a31b
Bump version: v2.12.1
v2.12.1
2023-03-11 13:22:16 +00:00
Joe Rickerby
1d6ee75d21
Merge pull request #1430 from henryiii/henryiii/fix/pipconfigopts
...
fix: pip config options were broken
2023-03-11 12:51:31 +00:00
0b1b539450
[Bot] Update dependencies ( #1425 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
Co-authored-by: Joe Rickerby <joerick@mac.com >
2023-03-10 18:01:46 -05:00
Henry Schreiner
2e48667e29
refactor: use frontend instead of plural
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-10 13:46:42 -05:00
Henry Schreiner
c6818608d2
fix: pip config options were broken
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-10 12:00:51 -05:00
Joe Rickerby
7190b1a6a7
Merge pull request #1428 from henryiii/henryiii/ci/appveyor
...
ci: fix appveyor (Python 3.8+ needed for macOS)
2023-03-10 16:15:36 +00:00
Joe Rickerby
16380b8555
Update CI table
2023-03-07 20:53:21 +00:00