David Hewitt
32b6a1aef1
docs: use versioned links from docs to guide ( #4331 )
...
* use versioned links from docs to guide
* use standard python version in `guide-build` ci job
2024-07-10 12:30:01 +00:00
David Hewitt
c7c1dff710
ci: check minimal-versions on MSRV feature powerset ( #4273 )
...
* ci: check minimal-versions on MSRV feature powerset
* fix msrv arg
* bump num-bigint floor to 0.4.2
* try fix build syntax
2024-07-10 11:36:31 +00:00
David Hewitt
ca82681615
ci: minor cleanups following 1.63 MSRV ( #4239 )
...
* ci: minor cleanups following 1.63 MSRV
* correct `invalid_pymethods_duplicates` UI test
* fix `nightly` feature
2024-06-21 07:02:31 +00:00
David Hewitt
4fe5e8c689
ci: turn off gh-pages benchmarks ( #4209 )
...
* ci: turn off gh-pages benchmarks
* update benchmark badge
2024-05-28 08:19:50 +00:00
David Hewitt
388d1760b5
ci: start testing on 3.13-dev ( #4184 )
...
* ci: start testing on 3.13-dev
* ffi fixes for 3.13 beta 1
* support 3.13
* move gevent to be binary-only
* adjust for div_ceil
* fixup pytests
2024-05-25 22:41:26 +00:00
Alex Gaynor
9e1960ea34
Update MSRV to 1.63 ( #4129 )
...
* Bump MSRV to 1.63
* Drop parking_lot in favor of std::sync
* Make portable-atomic dep conditional
* Remove no longer required cfg
2024-04-28 16:11:28 +00:00
David Matos
2ad2a3f208
docs: Make contributing.md slightly more clear for newer contributors ( #4080 )
...
* docs: Make contributing.md slightly more clear for newer contributors
* Remove accidental backticks
Rearrange overview of commands
* Placed on wrong line
* Add extra overview command
2024-04-16 08:17:41 +00:00
dependabot[bot]
631c25f2f9
build(deps): bump peaceiris/actions-gh-pages from 3 to 4 ( #4062 )
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 21:08:44 +00:00
David Hewitt
cff4aa3cc8
ci: defer test-debug to the merge queue ( #4023 )
2024-03-30 23:26:34 +00:00
Tim Felgentreff
9a38e709bb
Basic GraalPy Support ( #3247 )
...
* graalpy: recognize graalpy implementation when building
* graalpy: global Ellipse, None, NotImplemented, True, and False are only available as pointers
* graalpy: PyObject struct is opaque, use functions for everything
* graalpy: missing many of the same functions as pypy
* graalpy: do not have 128bit conversion functions
* graalpy: add functions for datetime accessor macros
* graalpy: add implementations for list macro functions
* graalpy: skip tuple macros
* graalpy: always use extern Py_CompileString function
* graalpy: disable assertion that does not apply to graalpy
* graalpy: floatobject structure is opaque on graalpy
* graalpy: ignore gc dependent test
* graalpy: add CI config
* graalpy: run rust fmt
* graalpy: add changelog entry
* graalpy: discover interpreter on PATH
* graalpy: interpreter id is not applicable to graalpy (just like pypy)
* graalpy: skip tests that cannot work on GraalPy
* graalpy: fix constructing normalized Err instances
Co-authored-by: David Hewitt <mail@davidhewitt.dev>
* graalpy: correct capi library name, but skip rust tests due to missing symbols
* graalpy: no support for C extensions on windows in latest release
* graalpy: declare support versions
* graalpy: frame, code, method, and function objects access from C API is mostly missing
* graalpy: take care only to expose C structure that GraalPy allocates
* graalpy: Bail out if graalpy version is less than what we support
---------
Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-03-25 18:54:52 +00:00
David Hewitt
aeb74c7093
ci: use macos-14 runners ( #3985 )
...
* ci: use macos-14 runners
* use arm64 python architecture
2024-03-23 20:16:37 +00:00
David Hewitt
ebeea943fe
ci: fixes to actions caches ( #3970 )
2024-03-19 08:14:42 +00:00
David Hewitt
14d1d2a9ee
docs: use `lychee` to check link URLs ( #3941 )
...
* guide: install `mdbook-linkcheck`
* use `shutil` to copy license files
* move from `mdbook-linkcheck` to `lychee`
* clean guide & doc build products before build
* fix more broken links
* review: mejrs
2024-03-08 14:10:47 +00:00
David Hewitt
a582fa0163
docs: update discord invite to permanent one ( #3913 )
2024-02-28 20:51:40 +00:00
David Hewitt
cd1c0dbf39
ci: move cross compile tests to their own jobs ( #3887 )
...
* ci: move cross compile tests to their own jobs
* don't run cross-compile jobs on regular PRs
2024-02-26 21:47:35 +00:00
David Hewitt
404161c969
ci: apply correct permissions for cache cleanup job ( #3898 )
2024-02-25 09:49:22 +00:00
David Hewitt
8f1b99e1e9
move chat discussions to Discord ( #3892 )
...
* move chat discussions to Discord
* guide: add some more signposting to the PyO3 Discord
2024-02-24 22:35:01 +00:00
David Hewitt
9186da3892
ci: run fmt unconditionally ( #3888 )
2024-02-23 08:16:37 +00:00
David Hewitt
5ca810236d
ci: rework GitHub caching strategy ( #3886 )
...
* ci: rework GitHub caching strategy
* clean up some more redundant imports flagged by nightly
2024-02-23 00:51:50 +00:00
David Hewitt
c4f66657c5
fix `either` feature conditional compilation, again ( #3834 )
...
* fix `either` feature conditional compilation, again
* test feature powerset in CI
* install `rust-src` for feature powerset tests
* review: adamreichold feedback
* Fix one more case of redundant imports.
* just check feature powerset for now
---------
Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
2024-02-22 08:05:37 +00:00
David Hewitt
ececa86a7d
ci: cancel in-progress benches job on push ( #3874 )
2024-02-19 22:14:00 +00:00
David Hewitt
f5eafe23f2
add maximum Python version check ( #3821 )
...
* add maximum Python version check
* restore dependency of `pyo3-macros-backend` on `pyo3-build-config`
* fix clippy-all noxfile job
2024-02-13 21:52:53 +00:00
David Hewitt
c85d72bb0e
connect CODECOV_TOKEN to codecov action
2024-02-05 18:50:18 +00:00
dependabot[bot]
ec0be57c68
Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [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/v3...v4 )
---
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>
2024-02-05 18:43:19 +00:00
dependabot[bot]
ab90403953
Bump dorny/paths-filter from 2 to 3
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 20:31:27 +00:00
dependabot[bot]
bcfbbf198d
Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 20:07:15 +00:00
David Hewitt
f8878a7440
Merge pull request #3731 from PyO3/dependabot/github_actions/actions/setup-python-5
...
Bump actions/setup-python from 4 to 5
2024-01-12 17:51:13 +00:00
David Hewitt
8fef7a5848
fix size of pypy private fields in Py_buffer definition
2024-01-12 15:59:14 +00:00
dependabot[bot]
800943ab2d
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
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>
2024-01-08 20:14:38 +00:00
Adam Reichold
68240e16a7
Include the experimental-inspect feature for the docs.rs build thereby making it equivalent to a full build.
2024-01-02 20:47:52 +00:00
Adam Reichold
c1c62f1f3c
Add CI job to test the equivalent of a docs.rs build.
2024-01-02 20:47:46 +00:00
dependabot[bot]
20e9680a81
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
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>
2023-12-11 20:04:18 +00:00
David Hewitt
2a5dedcbb5
ci: refactor pytests dev dependencies
2023-12-05 00:54:32 +03:00
David Hewitt
8e5ef9058b
ci: run beta clippy as an allowed-to-fail job
2023-11-28 07:29:45 +00:00
David Hewitt
24f3d0da62
enable cargo-semver-checks, try 2
2023-11-18 13:25:05 +00:00
David Hewitt
a9305ab389
ci: move lints to new 1.74 cargo.toml tables
2023-11-17 15:41:52 +00:00
David Hewitt
ef9741850f
ci: try to run without rust-toolchain.toml
2023-11-14 19:54:39 +00:00
David Hewitt
3042ab1621
ci: switch from black to ruff
2023-10-26 21:04:49 +01:00
Adam Reichold
95c8ee9afc
Merge pull request #3542 from PyO3/dependabot/github_actions/actions/setup-node-4
...
Bump actions/setup-node from 3 to 4
2023-10-25 19:07:24 +00:00
David Hewitt
d835a4c86c
allow CI to continue when nightly Rust is broken
2023-10-25 08:33:00 +01:00
dependabot[bot]
0f42c688f8
Bump actions/setup-node from 3 to 4
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:32:21 +00:00
dependabot[bot]
64b639b945
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-10-23 20:32:16 +00:00
David Hewitt
bf2c5a896b
add codspeed benchmarks
2023-10-19 21:36:05 +01:00
David Hewitt
e502c133a4
ci: include beta as an allowed-to-fail job
2023-10-18 22:21:29 +01:00
David Hewitt
0c58648059
ci: install prebuilt cargo-careful
2023-10-16 20:16:01 +01:00
David Hewitt
6801c508a8
keep emscripten back on 3.11 for now
2023-10-13 08:25:36 +02:00
David Hewitt
2b7eb3a05e
also test emscripten with CI-build-full
2023-10-13 00:57:39 +02:00
David Hewitt
b2df27f0a1
bump "latest" CI jobs to 3.12
2023-10-13 00:57:39 +02:00
David Hewitt
6c6c607ad3
bump test-debug to 3.12
2023-10-04 19:58:27 +01:00
David Hewitt
86fc62c5e7
support python 3.12
2023-10-02 20:57:41 +01:00