David Hewitt
|
e0513d74f5
|
improve error for invalid `#[classmethod]` receivers
|
2023-12-29 22:48:25 +00:00 |
David Hewitt
|
25b8a37521
|
remove type_is_pymodule
|
2023-12-29 22:47:39 +00:00 |
Joseph Perez
|
3d17f7442a
|
fix: replace removed `fmt` session by `rustfmt` and `ruff`
|
2023-12-29 22:47:27 +00:00 |
Joseph Perez
|
466359a1c8
|
feat: allow `classmethod`/`pass_module` to receive owned types
This is necessary for async functions
|
2023-12-29 22:47:16 +00:00 |
David Hewitt
|
9dbd81b47c
|
enable cargo-semver-checks, try 2
|
2023-12-29 22:46:49 +00:00 |
David Hewitt
|
bbc5404297
|
ci: move lints to new 1.74 cargo.toml tables
|
2023-12-29 22:46:39 +00:00 |
David Hewitt
|
8d637b0b5b
|
ci: updates for rust 1.74
|
2023-12-29 22:46:29 +00:00 |
David Hewitt
|
aa6f1466d2
|
ci: try to run without rust-toolchain.toml
|
2023-12-29 22:46:23 +00:00 |
Surya
|
c8ef081821
|
fix missing char conversion
|
2023-12-29 22:45:43 +00:00 |
David Hewitt
|
d649f6603f
|
add link to user guide to cross compile error message
|
2023-12-29 22:45:35 +00:00 |
Joseph Perez
|
b08c92b306
|
docs: add newsfragment
|
2023-12-29 22:45:27 +00:00 |
Joseph Perez
|
a4aba0a09a
|
refactor: remove useless `unsafe` in `get_mut`
|
2023-12-29 22:45:20 +00:00 |
Joseph Perez
|
04bb9f2110
|
feat: add `take` and `into_inner` methods to `GILOnceCell`
|
2023-12-29 22:45:12 +00:00 |
Samuel Pastva
|
10086d176a
|
Finish rename
|
2023-12-29 22:44:49 +00:00 |
Samuel Pastva
|
15c280015d
|
Update guide/src/class.md
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
|
2023-12-29 22:44:43 +00:00 |
Samuel Pastva
|
2aca7f53f0
|
Add example of dynamic return type in the "Python classes" section of the guide.
|
2023-12-29 22:44:33 +00:00 |
David Hewitt
|
04af02f155
|
ci: switch from black to ruff
|
2023-12-29 22:44:24 +00:00 |
David Hewitt
|
8e08e4ad1b
|
examples: remove requirements-dev.txt files
|
2023-12-29 22:44:11 +00:00 |
David Hewitt
|
7f328767a3
|
Note about `pyenv activate` and `pyenv virtualenv` commands
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
|
2023-12-29 22:44:06 +00:00 |
David Hewitt
|
ba5a1da4a8
|
ci: fix nightly unused import warnings
|
2023-12-29 22:43:56 +00:00 |
David Hewitt
|
410ef89456
|
docs: improve detail around pyenv install
|
2023-12-29 22:43:51 +00:00 |
David Hewitt
|
92cde096b5
|
add coverage for `emit_pyo3_cfgs`
|
2023-12-29 22:43:44 +00:00 |
David Hewitt
|
8c272a6ef2
|
ci: tidy up some dev deps
|
2023-12-29 22:43:32 +00:00 |
David Hewitt
|
e900df02f0
|
ci: use older hashbrown and indexmap for MSRV
|
2023-12-29 22:42:35 +00:00 |
dependabot[bot]
|
97bf194152
|
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-12-29 22:42:25 +00:00 |
David Hewitt
|
422f8665c9
|
ci: install prebuilt cargo-careful
|
2023-12-29 22:41:07 +00:00 |
David Hewitt
|
30463b6720
|
remove comparison to rust-cpython
|
2023-12-29 22:41:00 +00:00 |
David Hewitt
|
f745299b7b
|
ci: drop psutil dependency
|
2023-12-29 22:40:49 +00:00 |
Adam Reichold
|
d468f570ae
|
Align chrono dev and runtime dependency version specifications.
|
2023-12-29 22:40:02 +00:00 |
Orhun Parmaksız
|
826fa973b6
|
Set version of smallvec to 1.0
|
2023-12-29 22:39:53 +00:00 |
Orhun Parmaksız
|
779eb2412c
|
Add an entry to features table in lib
|
2023-12-29 22:39:43 +00:00 |
David Hewitt
|
84264b358e
|
keep emscripten back on 3.11 for now
|
2023-12-29 22:39:36 +00:00 |
David Hewitt
|
9e07203afb
|
also test emscripten with CI-build-full
|
2023-12-29 22:39:26 +00:00 |
David Hewitt
|
8392ed2a94
|
bump "latest" CI jobs to 3.12
|
2023-12-29 22:39:17 +00:00 |
Orhun Parmaksız
|
427b2e9386
|
Add support for `SmallVec` in conversion traits (#3440)
|
2023-12-29 22:39:09 +00:00 |
David Hewitt
|
c77deee18e
|
release: 0.20.0
|
2023-10-11 14:39:19 +02:00 |
David Hewitt
|
b03c4cb33c
|
Merge pull request #3506 from davidhewitt/default-ne
Fix bug in default implementation of `__ne__`
|
2023-10-11 10:04:55 +00:00 |
David Hewitt
|
e1d4173827
|
Fix bug in default implementation of `__ne__`
|
2023-10-11 09:48:06 +01:00 |
David Hewitt
|
b73c06948c
|
Merge pull request #3504 from davidhewitt/classmethod-receiver
emit helpful error hint for classmethod with receiver
|
2023-10-10 21:35:34 +00:00 |
David Hewitt
|
76bf521ed0
|
Merge pull request #3505 from davidhewitt/deprecate_dunder_new
deprecate undocumented `#[__new__]` form of `#[new]`
|
2023-10-10 21:35:10 +00:00 |
David Hewitt
|
6c90325a1c
|
deprecate undocumented `#[__new__]` form of `#[new]`
|
2023-10-10 08:47:03 +01:00 |
David Hewitt
|
c0b5004cfa
|
Merge pull request #3455 from davidhewitt/normalized-exceptions
also use `PyErr::SetObject` on Python versions before 3.12
|
2023-10-10 07:44:39 +00:00 |
David Hewitt
|
80bbb30f56
|
Merge pull request #3500 from ecarrara/fix-eval-frame-py311
Fix `_PyFrameEvalFunction` receives an `_PyInterpreterFrame` since Python 3.11
|
2023-10-10 05:35:21 +00:00 |
David Hewitt
|
ddc04ea093
|
emit helpful error hint for classmethod with receiver
|
2023-10-10 06:30:19 +01:00 |
Erle Carrara
|
0e0e6623f3
|
fix _PyFrameEvalFunction. Since python 3.11 it receives a `_PyInterpreterFrame`
|
2023-10-09 23:36:01 -03:00 |
Bruno Kolenbrander
|
300f2d63ae
|
Merge pull request #3487 from mejrs/ffi_example
refactor pyo3-ffi example to an example project
|
2023-10-09 22:53:35 +00:00 |
mejrs
|
de27e5e41f
|
refactor pyo3-ffi example to an example project
|
2023-10-09 23:45:14 +02:00 |
Bruno Kolenbrander
|
36b4a79930
|
Merge pull request #3502 from mejrs/interpreterapi
add PyInterpreterConfig api
|
2023-10-08 21:22:01 +00:00 |
David Hewitt
|
234c7b3d66
|
Merge pull request #3484 from davidhewitt/new-no-arguments
error on passing arguments to `#[new]` and similar attributes
|
2023-10-08 21:21:51 +00:00 |
mejrs
|
0cccb9f64b
|
add PyInterpreterConfig api
|
2023-10-08 22:38:11 +02:00 |