mayeut
3992d5719c
feat: add option to opt-in free-threaded builds
2024-05-20 07:12:10 -04:00
Joe Rickerby
9d5f5e60b8
Make container-engine a build (non-global) option ( #1792 )
2024-05-20 02:47:10 -04:00
Matthieu Darbois
44c4742477
feat: add Python 3.13 beta 1 ( #1815 )
2024-05-11 20:26:18 -04:00
Matthieu Darbois
c0217440e8
feat: move default musllinux build to musllinux_1_2 ( #1817 )
2024-05-11 16:24:48 -04:00
Henry Schreiner and Joe Rickerby
8f58f71c2e
feat: add inherit to override ( #1730 )
...
* feat: add inherit to override
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* refactor: use dict and support prepend
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Refactor: simplifying by splitting the responsibilities of _dig_first
* Refactor to allow merging of string settings, and preserve table cascades
* docs: add some docs for inherit
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2024-03-02 16:58:18 -05:00
Joe Rickerby
4db49f5485
Don't require --platform when running on a development machine
...
Historically, we required `--platform` when running cibuildwheel outside of CI, because cibuildwheel would attempt to globally install Python interpreters and some packages.
That was fixed in https://github.com/pypa/cibuildwheel/pull/974 a couple of years ago. As a result, there's no reason to require --platform these days, the `auto` behaviour is perfectly fine for dev machines.
It also makes running tests locally simpler, one can just do `pytest test/test_0_basic.py` (or `nox -s tests -- test/test_0_basic.py`) and not have to worry about setting CIBW_PLATFORM most of the time.
2024-01-21 18:24:43 +00:00
Joe Rickerby
a6345190fa
Skip test on gitlab too
2023-11-24 10:33:21 +00:00
Joe Rickerby
7c99262c00
Adds disable_host_mount suboption to container-engine
2023-11-21 22:25:20 +00:00
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