David Hewitt
95fe0a708c
test debug build in CI
2023-09-09 22:29:58 +01:00
dependabot[bot]
b9f4197bf5
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 20:47:53 +00:00
DataTriny
5782aca636
Update the pull request template
2023-08-15 23:56:07 +02:00
David Hewitt
c2e8ba3c14
move benches to subdirectory
2023-07-30 07:36:47 +01:00
David Hewitt
264cba557a
ci: stop allowing failure for pypy 3.10
2023-07-25 21:24:40 +01:00
David Hewitt
16d9c56341
always run ffi-check on dev pythons
2023-07-25 07:35:57 +01:00
David Hewitt
f5d4083131
ci: run valgrind and careful with 'CI-build-full' label
2023-07-03 21:20:49 +01:00
David Hewitt
9f2176c126
support PyPy 3.10
2023-07-03 11:26:45 +01:00
David Hewitt
48c16a6878
move pyo3-ffi-check into its own workspace
2023-06-27 22:54:10 +01:00
Adam Reichold
c246e95875
Our PR template still referenced the removed xtask infrastructure.
2023-06-25 21:37:27 +02:00
David Hewitt
c434263241
ci: allow failure on 3.7 and pypy nightly
2023-06-12 20:30:03 +01:00
David Hewitt
671ed933e2
ci: allow failures in 3.12 builds for now
2023-06-11 21:57:17 +01:00
David Hewitt
621898b07d
ci: add Python 3.12-dev jobs
2023-06-11 21:57:17 +01:00
David Hewitt
618d99966f
ci: remove bors configuration
2023-06-08 20:56:40 +01:00
David Hewitt
24ea1de27b
ci: fail ffi-check on pypy failures
2023-06-08 07:18:08 +01:00
David Hewitt
b9c42b9c93
ci: enable full builds with a label
2023-06-07 22:22:32 +01:00
David Hewitt
a1f0d91a67
ci: add pypy3.10-nightly
2023-06-07 08:40:47 +01:00
David Hewitt
05b97dd964
fix usage for paths-filter in merge_group
2023-06-06 08:22:20 +01:00
David Hewitt
342e4ca678
Merge pull request #3206 from davidhewitt/gh-merge-queue
...
add github merge queue support
2023-06-06 06:32:05 +00:00
Adam Reichold
f6e1f26676
Enable v2 resolver on the workspace to enable dropping PYO3_CI workaround.
2023-06-05 18:54:35 +02:00
Adam Reichold
b49e401319
Remove unmatched cfg and unused rustup component.
2023-06-05 09:36:13 +02:00
David Hewitt
1bbd556718
run cargo check instead of clippy for MSRV in CI
2023-06-04 23:15:59 +01:00
Adam Reichold
5738edfdd4
Bump MSRV to 1.56
2023-06-04 23:02:30 +01:00
David Hewitt
a70e3983b4
add github merge queue support
2023-06-04 19:36:28 +01:00
David Hewitt
3ac0f16247
update PR template to detail state of licensing
2023-06-02 08:09:22 +01:00
Adam Reichold
8b14797403
Also ignore error outputs on MSRV to further simplify UI tests.
2023-05-25 21:37:05 +02:00
Adam Reichold
426e18932b
Simplify version handling of UI tests.
...
Due to checking in error outputs these tests only work reliably on stable and
not on intermediate version between our MSRV (currently 1.48) and the current
stable version.
Hence this simplifies things to run only MSRV-compatible tests for the MSRV
builds, anything else for stable builds except for those tests which require the
nightly feature, i.e. the `Ungil` being distinct from the `Send` trait.
Finally, `not_send3` is disabled when using the nightly feature since while `Rc`
is not send, it also not GIL-bound and hence can be passed into `allow_threads`
as it does not actually spawn a new thread.
2023-05-25 21:34:43 +02:00
Adam Reichold
9257e78e90
Fix Clippy CI job cache to really include the platform.
2023-05-10 07:59:01 +02:00
Adam Reichold
0f12d72f7a
Enable rust-cache on clippy CI jobs as we do for build CI jobs.
2023-05-09 22:05:57 +02:00
Adam Reichold
3343d683da
Explicitly install the rust-src component as we repeatedly had CI failures when this was installed on-demand in the MSRV Clippy job.
2023-05-09 09:39:23 +02:00
Adam Reichold
b52730ac27
Make sure to upgrade pip before trying to install nox.
2023-05-01 18:13:49 +02:00
David Hewitt
d8f7e6b41b
ci: use codecov coverage format
2023-04-18 21:44:14 +01:00
Adam Reichold
f981fded3f
Actually set target when running Clippy builds.
2023-04-14 18:41:45 +02:00
Adam Reichold
a913be22dc
Use stable toolchain for Valgrind job as version 3.20 should handle the DWARF version.
2023-03-06 23:34:13 +01:00
David Hewitt
0ef5531cbd
unpin 3.11 ci jobs
2023-02-27 22:25:07 +00:00
David Hewitt
87b6a9bd92
ci: run pyo3-ffi-check using nox
2022-12-26 08:50:33 +00:00
David Hewitt
710c895d01
ci: run checks for all platforms on PR
2022-12-25 20:02:21 +00:00
David Hewitt
bd2dc0835b
move set-minimal-package-versions to nox
2022-12-25 19:04:56 +00:00
David Hewitt
3fc9c9ad95
ci: pin more to 3.11.0
2022-12-18 09:57:30 +00:00
David Hewitt
b6874b8280
pin CI to 3.11.0 as workaround for 2817
2022-12-18 07:36:19 +00:00
David Hewitt
9e04398a5e
check changelog using nox
2022-12-17 07:23:22 +00:00
David Hewitt
f837ec0fc1
add .python-version file
2022-12-14 21:33:27 +00:00
messense
c776792f9d
Allow pyo3-ffi-check failure on PyPy for now
2022-12-03 21:11:40 +08:00
messense
272f7dd07f
Tweak pyo3-ffi-check
2022-12-03 21:11:40 +08:00
messense
9a164bac54
ci: run pyo3-ffi-check
2022-12-03 21:11:36 +08:00
messense
1f6e2c4ee6
ci: remove `github.sha` from concurrency group
...
Otherwise workflow runs on staging/trying branches won't be cancelled
automatically.
2022-11-24 16:19:58 +08:00
messense
85b4309923
ci: try reusable workflow
2022-11-21 17:30:43 +08:00
messense
b7bbd7b497
ci: configure bors
2022-11-20 21:23:05 +08:00
Georg Brandl
10b53e1958
CI: fix rayon-core version to keep MSRV compat
2022-11-19 09:18:42 +01:00
Adam Reichold
0516e27ace
Also bump CI matrix include jobs to latest stable CPython version.
2022-11-07 08:30:25 +01:00
messense
c6c0b45501
Update `actions/checkout` to v3
2022-11-05 18:41:09 +08:00
messense
2f11cc8644
maturin-action moved to PyO3 org
2022-11-04 16:15:11 +08:00
messense
7bc5a96277
Update `Swatinem/rust-cache` to v2
2022-11-04 16:15:10 +08:00
messense
e6f84be167
CI: switch from `actions-rs/toolchain` to `dtolnay/rust-toolchain`
2022-11-04 16:15:06 +08:00
Adam Reichold
d7b05cbcf5
Run Rust tests using Valgrind and cargo-careful ( #2706 )
...
* Run asan with `-Zbuild-std`
* Run Rust tests using Valgrind and cargo-careful.
* Pin Valgrind task to 1.61.0 to avoid the DWARF5 issues until fixed upstream.
* Override output checking of compilation UI tests as using different Rust versions might break that.
Co-authored-by: messense <messense@icloud.com>
2022-10-28 21:04:11 +01:00
David Hewitt
0bd261c7d1
packaging: support Python 3.11
2022-10-27 07:44:50 +01:00
David Hewitt
88be8ac7e7
add internal release notes
2022-10-20 07:47:07 +01:00
Adam Reichold
75d06d07a4
Unpin itertools after it was published without a spurious resolver specification.
2022-10-13 07:09:39 +02:00
dependabot[bot]
f68781e67f
Merge pull request #2670 from PyO3/dependabot/github_actions/codecov/codecov-action-3
2022-10-10 06:09:35 +00:00
messense
44732fc4c9
Merge pull request #2672 from messense/dependabot-github-actions-labels
...
Add `CI-skip-changelog` label automatically for dependabot github actions updates
2022-10-10 14:08:44 +08:00
dependabot[bot]
1b28176e3d
Merge pull request #2671 from PyO3/dependabot/github_actions/actions/cache-3
2022-10-10 05:04:47 +00:00
messense
3599d7f28a
Add `CI-skip-changelog` label automatically for dependabot github actions updates
2022-10-10 11:31:04 +08:00
dependabot[bot]
6e6bf3816b
build(deps): bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:19 +00:00
dependabot[bot]
d7b50c29d7
build(deps): bump codecov/codecov-action from 2 to 3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:14 +00:00
dependabot[bot]
1708998ccd
build(deps): bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:10 +00:00
messense
5a43f48d8c
Add `github-actions` to dependabot config
...
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2022-10-09 14:16:23 +08:00
David Hewitt
0e5e39e63d
remove need to build xtask from CI ( #2634 )
...
* xtask: move coverage implementation to nox
* move pytests from xtask to nox in ci
* use --package instead of --manifest-path for tests
* write github actions groups to sys.stderr
2022-09-22 11:12:59 +02:00
Adam Reichold
df933c53ca
Pin once_cell to fix MSRV build.
2022-09-21 10:15:16 +02:00
messense
0008da3b01
Enforce changelog entry for PR
2022-09-20 10:26:22 +08:00
Adam Reichold
370319e80d
Fix itertools version to keep MSRV builds working.
2022-09-13 20:06:46 +02:00
David Hewitt
bb99c98ec1
use towncrier to generate CHANGELOG
2022-09-08 07:58:53 +01:00
David Hewitt
3e15bb963b
gh-pages: stop building guide for main
2022-08-27 21:15:12 +01:00
David Hewitt
36ecadd69f
ci: unpin serde, fixup nightly ui tests
2022-08-23 08:07:26 +01:00
David Hewitt
d2b4c3a324
Merge pull request #2569 from davidhewitt/fix-gh-pages-deploy
...
gh-pages: don't publish whole target directory
2022-08-20 09:19:58 +01:00
David Hewitt
1c02533641
gh-pages: don't publish whole target directory
2022-08-19 15:54:19 +01:00
David Hewitt
e0b75768e4
netlify: add banner back to internal docs
2022-08-19 15:35:53 +01:00
David Hewitt
b70318fd1b
guide: deployment to netlify
2022-08-19 12:46:56 +01:00
David Hewitt
5ca3001957
examples: update maturin to 0.13
2022-08-18 08:17:53 +01:00
David Hewitt
2ccc034d2f
msrv: unpin anyhow, pin bumpalo
2022-08-18 07:48:09 +01:00
David Hewitt
9ab5de1441
ci: pin anyhow for MSRV
2022-08-11 07:58:41 +01:00
David Hewitt
af1faea79f
ci: downgrade serde to 1.0.142 for MSRV
2022-08-09 19:14:15 +01:00
messense
624565cd81
Pin emscripten test python version to 3.11b4 ( #2526 )
...
* Fix emscripten test and pin python version
* Try emscripten 3.1.17
* Try 3.11b4
2022-07-30 00:04:47 +08:00
mejrs
1983671782
Try fix hashbrown version on msrv
2022-07-19 20:17:23 +02:00
messense
a00e9d553d
Update Python to 3.11.0b4 in emscripten test ( #2507 )
...
* Update Python to 3.11.0b4 in emscripten test
* Print traceback when import exception failed
* Try `ALLOW_MEMORY_GROWTH=1`
2022-07-15 20:39:58 +01:00
David Hewitt
dae23ea08d
ci: fix build MSRV with hashbrown 0.12.2 release
2022-07-13 06:34:58 +01:00
Ashley Anderson
b39871c4ac
Use proper method for pinning MSRV minimal package versions
2022-07-06 00:29:58 -04:00
David Hewitt
0391b3b0c1
inventory: update to 0.3
2022-07-03 15:22:25 +01:00
messense
2782a4eb67
Upgrade mdbook to 0.4.19
2022-07-03 10:48:33 +08:00
messense
a76764b791
Revert "CI: Add `force_orphan` to `actions-gh-pages`"
2022-06-23 18:58:06 +08:00
messense
a7a6118974
CI: Add `force_orphan` to `actions-gh-pages`
2022-06-23 17:29:18 +08:00
David Hewitt
9dfeaa38d4
guide: add contributing page ( #2442 )
...
Co-authored-by: messense <messense@icloud.com>
2022-06-08 13:30:11 +00:00
David Hewitt
fad5d177f9
ci: unpin 3.11
2022-06-08 08:09:42 +01:00
Hood Chatham
da5b9814cc
Set up CI for wasm32-emscripten target ( #2436 )
...
* ci: test on emscripten target
This adds CI to build libpython3.11 for wasm32-emscripten and
running tests against it. We need to patch instant to work
around the emscripten_get_now:
https://github.com/sebcrozet/instant/pull/47
We also have to patch emscripten to work aroung the "undefined
symbol gxx_personality_v0" error:
https://github.com/emscripten-core/emscripten/issues/17128
I set up a nox file to download and install emscripten,
download and build cpython, set appropriate environment variables
then run cargo test. The workflow just installs python, rust,
node, and nox and runs the nox session.
I xfailed all the test failures. There are problems with datetime.
iter_dict_nosegv and test_filenotfounderror should probably be
fixable. The tests that involve threads or asyncio probably can't
be fixed.
* Some cleanup
* Remove instant patch
* Add explanations for xfails
2022-06-08 05:59:18 +01:00
David Hewitt
58f4042e4f
ci: update more actions
2022-06-02 09:18:35 +01:00
David Hewitt
02e6d486ea
ci: update action versions
2022-06-02 07:32:51 +01:00
David Hewitt
1fbde0e4d0
ci: pin to 3.11.0-beta.1
2022-06-01 16:03:48 +01:00
David Hewitt
a85c622a3d
ci: unpin 3.11-dev
2022-05-15 16:08:21 +01:00
messense
5472fa6917
Add Windows non-abi3 cross compile test
2022-05-12 14:32:20 +08:00
David Hewitt
0162df616e
Fix CI for hashbrown 0.12.1
2022-05-03 06:18:45 +01:00
messense
6f278923da
Add `workflow_dispatch` trigger event to CI
...
https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
2022-04-19 13:18:02 +08:00