8f21eb17be
chore: use dependency-groups ( #2064 )
...
* chore: use dependency-groups
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* ci: use dep groups in other CIs
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
* chore: read dep groups in noxfile
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
* Add dev environment instructions
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2024-11-19 19:30:06 +01:00
Henry Schreiner and Matthieu Darbois
cc1d977359
feat: support test-groups ( #2063 )
...
* feat: support test-groups
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* refactor: address review comments
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* tests: add a integration test
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
* fix: better error messages based on feedback
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
2024-11-04 21:25:01 +01:00
Henry Schreiner
b98602705f
chore: stricter mypy ( #2053 )
...
* chore: improve mypy
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* chore(types): type functions in tests
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* chore(types): No partial types in tests
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-10-22 10:16:59 -04:00
Joe Rickerby
7940a4c0e7
Bump version: v2.21.3
2024-10-09 09:04:53 +01:00
Joe Rickerby
f185952832
Bump version: v2.21.2
2024-10-02 22:51:53 +01:00
Henry Schreiner and mayeut
d5c6a83aeb
ci: update job slightly ( #2028 )
...
* ci: update job slightly
* Ignore check-wheel-content W002
---------
Co-authored-by: mayeut <mayeut@users.noreply.github.com >
2024-10-02 14:52:36 -04:00
Henry Schreiner
d625d18b91
ci: add 3.13 classifier ( #2026 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-10-02 00:22:31 -04:00
Henry Schreiner
d4a2945fcc
Bump version: v2.21.1
2024-09-16 21:04:46 -04:00
Henry Schreiner
01ecd4e011
docs: bump pinned versions ( #2011 )
...
Trying to fix ci; might need to add `pathspec` if this isn't enough.
2024-09-16 14:01:04 -04:00
Joe Rickerby
79b0dd3287
Bump version: v2.21.0
2024-09-13 16:42:42 +01:00
3a30bec9ef
[pre-commit.ci] pre-commit autoupdate ( #1978 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* chore: ruff python-version not needed
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
2024-08-21 00:34:31 -04:00
Henry Schreiner
bd033a4447
Bump version: v2.20.0
2024-08-03 22:37:32 -04:00
Matt Richards
871ef6b506
tests: show xfail traceback summaries again ( #1943 )
...
Revert "tests: don't print xfails (#1865 )"
This reverts commit 8d86d3122b .
2024-07-23 09:14:06 -04:00
de84624d70
fix: set VSCMD_ARG_TGT_ARCH based on targeted architecture ( #1876 )
...
* set VSCMD_ARG_TGT_ARCH based on targetted architecture
* only set VSCMD_ARG_TGT_ARCH if not already set
* add unit tests to check setuptools correctly identifies windows arch
* only run tests on windows
* arm64 fails on azure pipelines (only)
* Update windows.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
* update test_env_set to validate FatalError is raised on env collision
* remove noqa ARG001 (no longer needed)
---------
Co-authored-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: Joe Rickerby <joerick@mac.com >
2024-07-12 14:32:42 -04:00
Henry Schreiner
7e5a838a63
Bump version: v2.19.2
2024-07-02 08:07:58 -04:00
Henry Schreiner
932529cab1
Bump version: v2.19.1
2024-06-13 02:38:27 -04:00
Henry Schreiner
8d86d3122b
tests: don't print xfails ( #1865 )
...
tests: skip warnings on xfails for now
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-12 10:46:24 -04:00
Henry Schreiner
a8d190a111
Bump version: v2.19.0
2024-06-10 11:28:29 -04:00
Henry Schreiner
384c8d5c82
feat: build[uv] ( #1856 )
2024-06-09 15:45:31 -04:00
Henry Schreiner
ba8be0d988
Bump version: v2.18.1
2024-05-20 07:22:33 -04:00
Henry Schreiner
1b354cfa63
chore: move to hatchling ( #1297 )
2024-05-20 02:45:05 -04:00
Henry Schreiner
c7a653d6a9
chore: minor touchups to pyproject ( #1751 )
2024-02-02 21:02:42 -05:00
Henry Schreiner
4586062efb
chore: move to ruff-format ( #1651 )
...
* chore: move to ruff-format
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
* Apply suggestions from code review
* chore: bump Ruff
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-10-27 01:21:20 -04:00
Henry Schreiner
1efccd03b5
fix: minor ruff updates ( #1649 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-10-26 10:57:23 -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
ac34701e98
chore: bump Ruff to 3.8+ too
2023-07-01 14:33:24 +02:00
mayeut
4b19db8454
chore: drop python 3.7 for cibuildwheel driver
...
This drops python 3.7 for cibuildwheel.
Building python 3.6 / 3.7 packages is still supported.
2023-07-01 14:33:24 +02:00
Henry Schreiner
c9e0981955
tests: remove testpaths, since we have two incomplatible test suites
2023-06-14 09:14:44 -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
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
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
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
c72e27e65a
[pre-commit.ci] pre-commit autoupdate ( #1423 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.249 → v0.0.253](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.249...v0.0.253 )
* fix ruff warnings
* chore: fix pylint warnings
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: Grzegorz Bokota <bokota+github@gmail.com >
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-02-28 08:43:58 -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
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
13fc768552
Revert to the previous quoting behaviour for environment option
2022-09-17 11:15:00 +01: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
mayeut
bc17f103f1
chore: drop python 3.6 for cibuildwheel driver
...
This drops python 3.6 for cibuildwheel.
Building python 3.6 packages is still supported.
2022-07-19 07:47:20 +02: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
02cc5bdaea
[Bot] Update dependencies ( #1050 )
...
* Update dependencies
* chore: minor updates
Co-authored-by: mayeut <mayeut@users.noreply.github.com >
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-03-18 00:13:35 -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
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
0bfbd5b309
fix: produce working SDists
2021-10-26 12:07:17 -04:00
Henry Schreiner
bf36398572
chore: drop toml, use tomli ( #876 )
...
This is required to get TOML 1.0 support, and lightens our dependencies a bit.
2021-10-15 11:30:16 -04:00