Joe Rickerby
f4291e7492
Merge pull request #1617 from pypa/env-order
...
fix: evaluate environment-pass before environment, so environment can reference or override those variables
2023-10-03 18:25:19 +01:00
Joe Rickerby
77d3a5f98e
Merge pull request #1621 from pypa/parse-kvs-colons
...
fix: improve parse_key_value_string to allow colons in values
2023-10-03 18:20:24 +01:00
Henry Schreiner
86248929ed
fix: ensure 2+ items in each override in schema ( #1628 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-28 19:32:18 -04:00
Henry Schreiner
d4af0ac229
feat: add schema and validate-pyproject support ( #1622 )
...
* feat: add schema and validate-pyproject support
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: address review comments, fix bug, add tests
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: add test of examples in docs and fix
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: nicer titles
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-26 11:23:20 -05:00
Joe Rickerby
687981060f
Improve parse_key_value_string to allow colons in values.
...
Fix #1600
2023-09-19 14:05:36 +01:00
Joe Rickerby
29cb13893f
Merge remote-tracking branch 'origin/main' into env-order
2023-09-19 11:59:12 +01:00
mayeut
ba11212a13
use fixture in oci_container_test.py to clean-up images after tests
2023-09-18 21:28:33 +02:00
mayeut
6d0890e7e0
add tests
2023-09-18 21:28:33 +02:00
mayeut
137dc1a2cf
Rename simulate_32_bit to enforce_32_bit
2023-09-18 21:28:33 +02:00
Joe Rickerby
f0feaffbaa
Merge pull request #1613 from henryiii/henryiii/fix/mainif
...
fix(setup.py): look inside if name == main block
2023-09-18 18:16:04 +01:00
Joe Rickerby
80a54b0226
Merge pull request #1589 from dalcinl/source_date_epoch
...
feature: Automatically pass SOURCE_DATE_EPOCH to Linux containers
2023-09-18 18:15:13 +01:00
Joe Rickerby
647b509c74
Add test for environment and environment_pass references
2023-09-18 17:06:09 +01:00
Henry Schreiner
f34ae7731d
fix(setup.py): look inside if name == main block
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-13 15:45:40 -04:00
Lisandro Dalcin and Joe Rickerby
4f888e27c3
feature: Automatically pass SOURCE_DATE_EPOCH to Linux containers
...
Co-authored-by: Joe Rickerby <joerick@mac.com >
2023-09-08 18:59:32 +03:00
Joe Rickerby
81ef5fac43
Add a unit test for the TOML form of the option
2023-08-30 09:28:34 +01:00
Joe Rickerby
297e4a6099
Add args param to build-frontend option
2023-08-26 19:37:29 +01:00
Henry Schreiner and Joe Rickerby
ce71f445de
fix: --only shouldn't require prerelease pythons setting ( #1564 )
...
* fix: --only shouldn't require prerelease pythons setting
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Add test
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2023-08-14 12:15:53 -04:00
Henry Schreiner
a63e11a1c4
feat: build using 3.12 RC by default
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-08-08 08:29:44 +02:00
Matthieu Darbois and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
36049d86a2
feature: add musllinux_1_2 support ( #1561 )
...
* feature: add musllinux_1_2 support
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix[test]: clean-up docker images in test_*linux*_only.py
We are reaching disk space limits (14 GB) when running tests.
Add a fixture to clean-up docker images after tests.
This fixture is applied on tests that pull a specific image for one test only in order not to take too much time pulling that image many times.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-07 12:01:10 -04:00
mayeut
b1929b7eaf
feature: add PyPy 3.10
2023-06-17 14:21:50 +02:00
Henry Schreiner
aae0524f8a
chore: fix for Ruff & markdown-it updates
2023-06-14 09:02:39 -04:00
Henry Schreiner and Joe Rickerby
8499628a5b
feat: add Python 3.12 beta 1 ( #1507 )
...
* feat: add Python 3.12 beta 1
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: try updating some versions to (near) final 3.6 supported version
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* tests: skip dep check on 3.6
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Update test pip version pin
* Fix expected wheels check
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2023-05-26 21:14:55 -07:00
Joe Rickerby and Henry Schreiner
9b904777d4
Apply suggestions from code review
...
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
2023-05-26 15:58:18 +01:00
Joe Rickerby
abc10b603b
Skip --volume test on Gitlab too
2023-05-16 08:53:51 +01:00
Joe Rickerby
6bf13bff03
Skip the --volume test on CircleCI
2023-05-15 22:07:09 +01:00
Joe Rickerby
2afeca62a1
Don't run test unless docker is available
2023-05-15 09:13:28 +01:00
Joe Rickerby
bf5db55bfa
Fix tests
2023-05-15 09:09:13 +01:00
Joe Rickerby
290a55097d
Add string and TOML-dict configuration of this param
2023-05-12 14:18:08 +01:00
Joe Rickerby
5cb0964111
Implement create_args in the oci container class
2023-05-08 21:59:11 +01: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
6d038dfbdf
chore: update typing to collections.abc
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 12:38:21 -04: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
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
Henry Schreiner
5ab3b55378
style: run pre-commit
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-02-07 10:25:34 -05:00
Henry Schreiner
c8b037ba3e
chore: use Ruff ( #1405 )
...
chore: use ruff
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-01-30 15:53:44 -05:00
Joe Rickerby
9850864851
Rename 'environ' to 'env'
2022-12-05 19:18:54 +00:00
Joe Rickerby
ec878dc393
Add a unit test for the workaround, and fix a bug
2022-12-04 19:08:47 +00:00
Joe Rickerby
8d05681491
Improve the formatting of the preamble
2022-11-26 17:16:54 +00:00
Ankith
c09359e9af
Tweak default mac repair cmd: delocate verbose
2022-10-21 14:14:13 +05:30
pre-commit-ci[bot]
9ba7e7e6fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-09-25 10:41:01 +00:00
mayeut
6286d9c33d
feature: allow testing cp38-macosx_arm64 wheel
...
Per discussion in https://github.com/pypa/cibuildwheel/pull/1169 , the default installer used for cp38 is an Intel installer.
It makes sense to skip testing arm64 wheels in this case.
However, if the user choose to manually install the universal2 CPython version, then, tests shall be run on arm64.
This allows users that either target 11.0+ on intel, universal2 or only build for arm64 to get the arm64 wheel tested on AppleSilicon.
2022-09-25 12:34:36 +02:00
Joe Rickerby
f7669045f5
Merge pull request #1258 from henryiii/henryiii/chore/dev
...
chore: nicer tracebacks and dev improvements
2022-09-25 09:34:05 +01:00
Joe Rickerby
73a435b9f6
Merge pull request #1266 from henryiii/henryiii/fix/crossplatform
...
fix: better cross-platform auto archs
2022-09-25 09:31:25 +01:00
Joe Rickerby
1e3f3fdce7
Add failing test
2022-09-24 23:10:05 +01:00
Joe Rickerby
13fc768552
Revert to the previous quoting behaviour for environment option
2022-09-17 11:15:00 +01:00
Joe Rickerby
7b43ed453f
Add failing test
2022-09-17 09:58:19 +01:00
Henry Schreiner
534cada6a5
chore: cleaner exception tracebacks
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-16 11:05:35 -04:00
Henry Schreiner
6df5de7175
fix: better cross-platform auto archs
...
This improves the default arch selection when targetting a different platform.
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-12 23:44:33 -04:00