Joe Rickerby
4a7aeffbf5
Merge pull request #1493 from pypa/dependabot/github_actions/pypa/gh-action-pypi-publish-1.8.6
...
build(deps): bump pypa/gh-action-pypi-publish from 1.8.5 to release/v1
2023-05-15 22:28:53 +01:00
Joe Rickerby
bda7ff6351
Merge pull request #1486 from mayeut/update-workflow-virtualenv-bound
2023-05-11 18:41:16 +01:00
Henry Schreiner
da2726449c
Update .github/workflows/release.yml
2023-05-09 21:29:00 -04:00
Joe Rickerby
4b88d36b20
Merge pull request #1494 from pypa/fixpyright
...
Fix a few types to keep pyright happy
2023-05-09 10:51:16 +01:00
Grzegorz Bokota
58c647acf0
Merge pull request #1489 from pypa/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2023-05-09 09:34:03 +02:00
pre-commit-ci[bot]
7a7e53e8d4
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.262 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.262...v0.0.265 )
2023-05-08 22:29:04 +00:00
Joe Rickerby
d7759bf876
Fix a few types to keep pyright happy
2023-05-08 21:05:24 +01:00
dependabot[bot]
2bd344260e
build(deps): bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.5 to 1.8.6.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.5...v1.8.6 )
---
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-05-08 13:57:14 +00:00
mayeut
c2fb0e4e96
chore: update to virtualenv<20.22.0
...
virtualenv>=20.22.0 can't create python 3.6 environments.
2023-04-29 11:58:41 +02:00
Matthieu Darbois
00f6526ff5
Merge pull request #1483 from pypa/dependabot/github_actions/wntrblm/nox-2023.04.22
...
build(deps): bump wntrblm/nox from 2022.11.21 to 2023.04.22
2023-04-29 11:39:22 +02:00
mayeut
7efc7dbb91
chore: stop updating python 3.6 constraints
...
All dependencies (except distlib) dropped python 3.6, just stop trying updating.
2023-04-29 11:33:34 +02:00
dependabot[bot]
ba4a993591
build(deps): bump wntrblm/nox from 2022.11.21 to 2023.04.22
...
Bumps [wntrblm/nox](https://github.com/wntrblm/nox ) from 2022.11.21 to 2023.04.22.
- [Release notes](https://github.com/wntrblm/nox/releases )
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wntrblm/nox/compare/2022.11.21...2023.04.22 )
---
updated-dependencies:
- dependency-name: wntrblm/nox
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-24 13:57:36 +00:00
Henry Schreiner
f8ef7fa826
chore: bump to Ruff 0.0.262 ( #1481 )
2023-04-20 12:44:19 -07:00
Joe Rickerby
5e15bb25b4
Bump version: v2.12.3
v2.12.3
2023-04-19 09:00:54 +01:00
Joe Rickerby
52572ccdd0
Merge pull request #1479 from henryiii/henryiii/fix/py37
...
fix: Python 3.7 support
2023-04-19 08:58:03 +01:00
Edouard Choinière
c6027e4fc7
docs: fix options.md typos ( #1477 )
2023-04-18 23:50:58 -04:00
Henry Schreiner
aff6dd5adc
refactor: tomllib in _compat
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 23:29:54 -04:00
Henry Schreiner
31bd9c9174
refactor: restore typing for non-backports
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 23:29:01 -04:00
Henry Schreiner
d996af554a
fix: restore Python 3.7 support
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 22:02:47 -04:00
Henry Schreiner
e42f243b52
ci: add Python 3.7
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 21:42:48 -04:00
Joe Rickerby
9f18d385cb
Bump version: v2.12.2
v2.12.2
2023-04-18 21:11:25 +01:00
Joe Rickerby
dfbc6c3902
Merge pull request #1476 from henryiii/henryiii/chore/ruff_ex
...
chore: ruff and typing updates
2023-04-18 20:58:15 +01:00
Henry Schreiner
8c5f89c035
chore: update typing to be generic on function args
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 13:06:17 -04:00
Henry Schreiner
6d038dfbdf
chore: update typing to collections.abc
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 12:38:21 -04:00
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