Henry Schreiner
36e40805e8
fix(schema): small bug + prepare for SchemaStore ( #1638 )
...
* fix(schema): small bug + prepare for SchemaStore
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix(schema): schema kw is supposed to have a number sign
* fix(schema): differing conventions
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-10-09 09:36:09 -04:00
Henry Schreiner
b05d91ee01
docs: fix typo
2023-10-03 10:33:40 -04:00
Henry Schreiner
46a7bf14dc
Update .pre-commit-config.yaml
2023-10-03 10:19:06 -04: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
5fee29256d
refactor: use refs instead of copies
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-28 12:35:07 -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
Henry Schreiner
f5e60d647f
fix: include examples too
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-18 11:57:32 -04:00
Henry Schreiner
db6d3095b9
chore: add .gitattributes
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-13 16:09:56 -04:00
Henry Schreiner
f6a95d3d0b
chore: Ruff ignore for _compat
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-13 16:09:21 -04: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
Henry Schreiner
a449142802
chore: use actions/checkout@4 everywhere
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-05 10:09:36 -04: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
26c5e18e62
chore: use 2x faster pre-commit mirror ( #1569 )
2023-08-11 08:43:29 +02: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
Henry Schreiner
b77cedba39
chore: ruff moved to astral-sh ( #1540 )
2023-07-03 18:21:29 -04:00
Henry Schreiner
ac34701e98
chore: bump Ruff to 3.8+ too
2023-07-01 14:33:24 +02:00
Henry Schreiner and Joe Rickerby
062a745fc9
Update examples/github-deploy.yml
...
Co-authored-by: Joe Rickerby <joerick@mac.com >
2023-06-25 10:21:09 -04:00
Henry Schreiner and Cosimo Lupo
cee0848b49
fix: allow access to {wheel} in more places ( #1533 )
...
pass {wheel} path to test command so I can use with tox --installpkg
Co-authored-by: Cosimo Lupo <clupo@google.com >
2023-06-23 08:29:58 -04:00
Henry Schreiner
28b03782f8
docs: use trusted publisher for GHA docs/example
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-06-22 15:08:24 -04:00
Henry Schreiner
c9e0981955
tests: remove testpaths, since we have two incomplatible test suites
2023-06-14 09:14:44 -04: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
Henry Schreiner
da2726449c
Update .github/workflows/release.yml
2023-05-09 21:29:00 -04:00
Henry Schreiner
f8ef7fa826
chore: bump to Ruff 0.0.262 ( #1481 )
2023-04-20 12:44:19 -07: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
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
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
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
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
94efa61f76
ci: fix appveyor (Python 3.8+ needed for macOS)
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-07 12:20:21 -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
4ce2a3e157
chore: bump ruff and mypy
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-02-07 10:25:12 -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
Henry Schreiner
b9a3ed8c6a
Update cibuildwheel/resources/build-platforms.toml
2022-12-22 11:25:36 -05:00
Henry Schreiner
3dcc2ff07e
fix: not skipping the tests stops the copy (Windows ARM) ( #1377 )
...
fix: not skipping the tests stops the copy
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-12-22 11:22:13 -05:00
Henry Schreiner
e53253d7d9
ci: move to ubuntu 20
2022-12-16 17:23:29 -05:00
Henry Schreiner
636ea18338
Update .github/workflows/update-dependencies.yml
2022-11-29 09:21:15 -05:00
Henry Schreiner
2d18de8aac
fix: action using powershell on Windows ( #1346 )
...
* fix: action more native on Windows
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: powershell on Windows
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-11-25 13:54:33 -05:00
Henry Schreiner
db1208430e
tests: include check for upgrade notice too
2022-10-26 09:47:17 -04:00
Henry Schreiner
dfb3e627bc
tests: use 3.11 final
2022-10-26 09:43:29 -04:00
Henry Schreiner
f259bfd4d6
tests: add a check in tests for the pip warning
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-10-26 09:36:53 -04:00
Henry Schreiner
f25227416d
fix: hide root pip warning on Linux again
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-10-26 09:31:28 -04:00
Henry Schreiner
66dd66d920
chore: bump max classifier to 3.11
2022-10-14 08:41:27 +02:00
Henry Schreiner
13b92f9c2d
fix: hide root pip warning on Linux ( #1304 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-10-11 10:06:35 -04:00
Henry Schreiner
1ee0692f68
Revert "ci: avoid editable installs with old pip"
...
This reverts commit 0fe600eea3 .
2022-10-08 15:58:04 -04:00
Henry Schreiner
0fe600eea3
ci: avoid editable installs with old pip
2022-10-08 15:53:46 -04:00
Henry Schreiner
7c4bbf8cb3
chore: minor cleanups from reverb ( #1293 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-10-07 08:47:31 -04:00
Henry Schreiner
35f2b8db78
chore: clean up a little typing ( #1291 )
2022-10-03 23:23:11 -04:00
Henry Schreiner and Joe Rickerby
c302a1d7f9
Apply suggestions from code review
...
Co-authored-by: Joe Rickerby <joerick@mac.com >
2022-09-16 11:05:35 -04: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
929ecac7f8
chore(bin): remove ghapi requirement
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-16 11:05:35 -04:00
Henry Schreiner
505207c39b
chore: drop [all] extra
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-16 11:05:35 -04:00
Henry Schreiner
00b2600cca
chore: cleanup types ( #1263 )
...
chore: fix typing Final usage for PyLance
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-16 11:05:05 -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
Henry Schreiner
01504b889c
docs: only macOS platforms support macOS ARM ( #1264 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-09 12:02:22 -04:00
Henry Schreiner and Joe Rickerby
eb39da0b10
feat: add --only ( #1098 )
...
* fix(style): use sub recommended replacement method
See https://docs.python.org/3/library/re.html#re.escape
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* feat: add --build
* refactor: switch to using --only
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* docs: cover --only
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* docs: undo change to --plat for auditwheel
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* (unrelated) speed up running the unit tests
based on a profile run, this speeds up the unit tests by 3x
* Remove `intercepted_build_args` reliance on `platform` fixture
* Add test that checks if 'only' overrides env var options
* Ensure that the --only command line option overrides env vars
* Fix UnboundLocalError
* Test cleanups
* style: typing.cast instead of plain cast
* feat: add only: to the GHA
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2022-09-09 08:34:47 -04:00
Henry Schreiner
3597095948
feat: support config-settings ( #1244 )
...
* feat: support config-settings
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
feat: support config-settings
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* refactor: use shlex.quote
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-09-06 00:56:20 -04:00
Henry Schreiner
0bc70cac93
fix(style): don't check generated file
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-08-22 14:26:13 -04:00
Henry Schreiner
9ab7670f54
ci: use official nox action
2022-08-09 00:09:48 -04:00
Henry Schreiner and Matthieu Darbois
c234ff5f36
fix: add suggestions to the TOML error message ( #1205 )
...
* fix: add suggestions to the TOML error message
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Update cibuildwheel/options.py
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
2022-08-02 14:43:07 -04:00
Henry Schreiner
61821a8473
fix(docs): pin things due to the mkdocs pin ( #1181 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-07-18 09:14:51 -05:00
Henry Schreiner
ee85748505
ci: fix update script ( #1179 )
2022-07-15 07:57:22 -05:00
Henry Schreiner
de53d48373
ci: try ubuntu 18.04
2022-07-12 08:46:45 -05:00
Henry Schreiner
f423b51ea6
Update action.yml
2022-07-11 09:34:04 -05:00
Henry Schreiner
5e2d02d809
Merge branch 'main' into new_podman_support
2022-07-03 14:04:06 -04:00
Henry Schreiner
9ed9e6b960
Merge branch 'main' into already-built
2022-07-03 14:02:42 -04:00
Henry Schreiner
075792473a
chore: simpler dependabot ( #1165 )
...
* chore: simpler dependabot
Ignores no longer needed after April 2022. Dependabot keeps the same style pinning now.
* Update faq.md
2022-06-29 18:10:35 -04:00
Henry Schreiner
de44c88c75
docs: add some projects ( #1097 )
...
* docs: add some projects
* chore: update docs
2022-04-28 19:18:49 -04:00
Henry Schreiner
98fedb7e51
refactor: use dataclasses vs. NamedTuples
2022-04-28 11:41:47 -04:00
Henry Schreiner
35054666bb
refactor: review comments
2022-04-27 17:18:01 -04:00
Henry Schreiner
b1e8549bb1
fix: minor cleanup
2022-04-27 14:55:30 -04:00
Henry Schreiner
958a7c32c1
refactor: use single entry for SDist builds
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-04-27 09:37:17 -04:00
Henry Schreiner
986a50f8a0
docs: two minor additions ( #1093 )
...
* docs: mention when msvcd140_1.dll is included in cpython
* docs: mention maturin-action
2022-04-26 00:29:32 -04:00
Henry Schreiner
7ef593c2ad
fix: minor touchups based on stricter mypy settings ( #1060 )
...
* fix: minor touchups based on stricter mypy settings
* refactor: address review comments
2022-04-01 22:00:07 -04:00
Henry Schreiner
9c046c26db
fix: issue with typer breaking pycln
2022-03-29 16:58:32 -04:00
Henry Schreiner and CAM Gerlach
1d6a1c0209
Update docs/options.md
...
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM >
2022-03-29 09:31:39 -04:00
Henry Schreiner and Joe Rickerby
d6dc3b7cd9
chore: add PyLint and fix most issues ( #999 )
...
* chore: add PyLint and fix most issues
* fix: minor fixes after first push
* chore: remove reference to old toml lib
* chore: minor options cleanup
* ci: only fail with many pylint issues, annotate in GHA
* refactor: address review
* ci: force nox to report in CI
* refactor: use map instead of if chain
* refactor: simpler shell_with_arch
* refactor: even simpler shell_with_arch
* Restore if...elif...else blocks where guard-style is not intended
Co-authored-by: Joe Rickerby <joerick@mac.com >
2022-02-27 14:16:37 -05:00
Henry Schreiner and Joe Rickerby
45a211eb1c
chore: cleanup and harden pytest config ( #1011 )
...
* chore: cleanup and harden pytest config
* fix: try alternate terminate strategy
* Update cibuildwheel/docker_container.py
Co-authored-by: Joe Rickerby <joerick@mac.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2022-02-22 17:27:20 -05:00
Henry Schreiner
51b50db510
fix: A type alias cannot be final ( #1024 )
...
Addition of Python 3.10 to the checks exposed this.
2022-02-12 18:29:58 +01:00
Henry Schreiner
bc3106a4d0
fix: include Requires-Python info in printout ( #1017 )
2022-02-11 10:17:40 -05:00
Henry Schreiner
53b8f8149c
fix: environment variable affect initial setup macOS/win ( #956 )
2021-12-13 09:39:41 -05:00
Henry Schreiner
a02eeaab20
Update README.md
2021-11-25 12:34:43 -05:00
Henry Schreiner
e519566674
Update README.md
2021-11-25 11:01:37 -05:00
Henry Schreiner
c33639ccb0
docs: note about musllinux mess
...
See #934 .
2021-11-24 13:54:58 -05:00
Henry Schreiner and Joe Rickerby
f45de3f24e
feat: support passenv ( #914 )
...
* feat: support passenv
* refactor: environment-pass and spaces
* docs: document environment pass
* Add unit test for passing through awkward env variable values
* Remove unused as_shell_commands method from environment
* Fix passthrough edge case by avoiding bash for passthrough assignments
* Fix mypy error in test
* Fix unit test
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-11-21 15:19:45 -05:00
Henry Schreiner
04cdc49fcf
Update options.md
2021-11-21 14:37:12 +01:00
0d10faf957
docs: better deployment docs ( #911 )
...
* docs: better deployment docs
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Joe Rickerby <joerick@mac.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-13 11:55:53 -05:00
Henry Schreiner
603a7b5bde
style(types): use new bracex static typing support ( #887 )
...
* style(types): use new bracex static typing support
* style(types): add a bit more basic typing
* style(types): globally ignore ghapi
* style(types): include a bit more in the global ignores
* fix(types): line invalid on Python 3.6
* fix: require typing_extensions 3.10
2021-10-26 15:56:35 -04:00
Henry Schreiner
8a45128d8c
fix: missing s in action ( #895 )
2021-10-26 15:16:58 -04:00
Henry Schreiner
a1342c1b53
ci: release to PyPI from CI on GitHub Release
2021-10-26 12:11:08 -04:00
Henry Schreiner
0bfbd5b309
fix: produce working SDists
2021-10-26 12:07:17 -04:00
Henry Schreiner
97e3fbbd73
fix: pass through unexpected format strings
...
Uses a regex-based solution instead of str.format
2021-10-23 14:54:20 +01:00