Commit graph

35 commits

Author SHA1 Message Date
Alex Gaynor
e2633bc1e6
Run Python tests in CI with debug rust builds (#11406)
fixes #11322
2024-08-08 15:07:15 -07:00
Alex Gaynor
cf895444ad
Disable verbosity when installing vectors in local noxfile (#11313) 2024-07-20 18:34:06 +00:00
Paul Kehrer
ebf14f2edc
bump for 43.0.0 and update changelog (#11311)
* bump for 43.0.0 and update changelog

* fix nox

* fix flake and name better

* more noxfile update
2024-07-20 12:28:42 -04:00
William Woodruff
e8af858bca
verification: remove an error variant (#11214)
* verification: remove an error variant

* lib: fix tests

* lib: remove tests mod entirely

Now redundant.

* lib: re-add tests

noxfile: mark vectors as an editable install

* extensions: remove Debug impl

...requires an `ok()` in verify.
2024-07-07 15:22:19 -04:00
Alex Gaynor
fe5b0240b8
Special case nox -e local for maturin (#11203)
This is way faster.
2024-07-06 09:26:37 -07:00
Alex Gaynor
78fdf553a1
Remove uv-ism that's no longer required in local nox (#10630) 2024-03-23 08:42:00 -04:00
Alex Gaynor
c48eabb6f4
Use uv with the local nox session (#10540) 2024-03-05 16:41:36 -08:00
Alex Gaynor
1cb4c9f538
Update local nox session for ruff change (#10515) 2024-03-01 08:11:16 -06:00
Alex Gaynor
905983fe56
Upgraded version of ruff (#10509) 2024-02-29 17:54:19 +00:00
Alex Gaynor
8992995c1b
Fix rust warnings when building with BoringSSL (#10408) 2024-02-17 07:40:53 -08:00
Alex Gaynor
6643f54ac9
Don't install cryptography_vectors 2x in local nox (#10406)
Now that it's a part of the test extras, we were installing it twice, once from PyPI and once from local. Don't do that.
2024-02-17 03:21:06 +00:00
Alex Gaynor
8f9d79ddcf
Install '.' in nox in a way that's uv friendly (#10405) 2024-02-16 19:20:33 -08:00
Alex Gaynor
e8ca1cd8c6
Don't reinstall test deps in local nox session (#10379)
They're already installed first thing
2024-02-11 17:34:54 -06:00
Alex Gaynor
376a266cef
Special-case installation of vectors in local nox (#10190)
This saves roughly a second, but makes getting feedback much more responsive.
2024-01-17 12:52:07 -03:00
Alex Gaynor
ad4ba0af95
Develop a local nox target (#10173)
This formats code, runs linters, and tests.

And it does these in an order that's optimized for fast local feedback
2024-01-14 20:43:55 -02:00
Alex Gaynor
ce31da6f88
Run mypy before check-sdist (#10082) 2023-12-29 20:58:43 -03:00
Alex Gaynor
70b2bc77ca
Simplify verifying README.rst in CI (#9991) 2023-12-12 14:24:27 -06:00
Alex Gaynor
fcc2bba8a0
Simplify noxfile interaction with pyproject.toml (#9807) 2023-11-01 11:06:42 -07:00
Alex Gaynor
1e190d33c4
Run check-sdist with --no-isolation (#9791)
* Run check-sdist with --no-isolation

This is primarily useful for quick dev-cycles locally

* Update noxfile.py
2023-10-27 13:01:32 -05:00
Alex Gaynor
bb28549247
Avoid building ourselves in the flake job (#9789) 2023-10-27 14:44:41 +00:00
Alex Gaynor
6970149e39
Alway use ruff format (#9778) 2023-10-25 17:15:44 -05:00
Alex Gaynor
a87d041ab7
Bump default CI job to 3.12 (#9697) 2023-10-05 07:39:31 -05:00
Alex Gaynor
09c8031486
Enforce a requirement to have safety comments (#9573) 2023-09-10 10:14:31 -05:00
Alex Gaynor
f558199dbf
Try running an extra ruff rule (#9402)
* Try running an extra ruff rule

I think `from __future__ import annotations` means this is fine, even on older Python

* Enable UP007

* Enable UP038
2023-08-11 14:31:31 -05:00
Alex Gaynor
ecf2129e58
Correctly run clippy on sub-crates (#9398) 2023-08-10 17:26:17 -05:00
William Woodruff
41d89f1ae6
noxfile, docs: fix posargs handling (#9354)
* noxfile, docs: fix posargs handling

Signed-off-by: William Woodruff <william@trailofbits.com>

* Update docs/development/getting-started.rst

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2023-08-04 16:48:15 +00:00
Alex Gaynor
1ad21a58e6
Avoid rebuilding everything just to run rust tests (#9162) 2023-07-01 15:22:18 +02:00
Alex Gaynor
736df2dc35
Move the remainder of the Rust coverage logic into the noxfile (#8936) 2023-05-17 19:58:47 +08:00
Alex Gaynor
e26a420703
Move slightly more of the rust coverage logic into noxfile.py (#8927) 2023-05-15 19:42:16 +08:00
Alex Gaynor
24c582a1dc
Pass --all to cargo test (#8925) 2023-05-15 09:11:24 +08:00
Alex Gaynor
be18c83985
Switch from check-manifest to check-sdist (#8846)
The latter will work with non-setuptools build backends.
2023-04-30 18:14:28 +02:00
Alex Gaynor
9d70b87ff5
Don't use setup.py in doc tests (#8820) 2023-04-25 02:10:54 +00:00
Alex Gaynor
86ec170285
silence noxfile warnings running cargo (#8688) 2023-04-09 07:29:06 +08:00
Alex Gaynor
963add367b
Several improvements to our noxfile (#8655)
1. Stream the output of pip install, don't blit it all out at the end
2. Reduce duplication in test job
3. Add an explanatory comment to the docs job
2023-04-03 06:17:37 +09:00
Alex Gaynor
1e49cb9c13
Switch from tox to nox (#8651) 2023-04-02 16:28:22 +09:00