messense
2ac6006ec8
Disable default features of `chrono`
...
To avoid bringing `time` v0.1.x into dependency graph, see https://github.com/time-rs/time/issues/293
2023-02-09 21:27:31 +08:00
David Hewitt
92cca896de
release notes for 0.18.1
2023-02-07 21:38:07 +00:00
David Hewitt
224a4160b4
release: 0.18.0
2023-01-17 19:04:30 +00:00
David Hewitt
20ca3be659
inspect: gate behind `experimental-inspect` feature
2023-01-15 12:41:23 +00:00
messense
15b1ff6c9a
Relax hashbrown version constraint to allow 0.13.x
2023-01-11 23:13:24 +08:00
messense
cb969b7ea0
Update send_wrapper to 0.6
2023-01-11 23:10:11 +08:00
messense
d6b15af0ff
Update memoffset to 0.8
2023-01-11 23:09:51 +08:00
Gilad Naaman
3e4cf7843a
Relax indexmap dependency
2023-01-02 09:28:27 +02:00
David Hewitt
f2608a923c
remove functionality deprecated in 0.16
2022-12-28 12:23:53 +00:00
David Hewitt
87b6a9bd92
ci: run pyo3-ffi-check using nox
2022-12-26 08:50:33 +00:00
David Hewitt
97487ffbb5
add abi3-py311 feature
2022-11-23 08:08:12 +00:00
Joel Natividad
91adca3b04
bump memoffset from 0.6.5 to 0.7
2022-11-20 20:23:11 -05:00
David Hewitt
548e90fcec
release: 0.17.3
2022-11-01 20:47:46 +00:00
Bruno Kolenbrander
4a04603c2c
Don't use intocallback in method macros ( #2664 )
...
* Don't use intocallback in method macros
Co-authored-by: mejrs <>
2022-10-16 10:35:58 +01:00
David Hewitt
bd40011e93
release: 0.17.2
2022-10-04 08:13:53 +01:00
Federico Dolce
63f7df905d
Add chrono 0.4 integration ( #2612 )
...
Co-authored-by: Ivan Tham <pickfire@riseup.net>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-09-22 09:00:09 +02:00
David Hewitt
5718adeec7
pyproto: remove deprecated feature
2022-09-06 08:38:44 +01:00
David Hewitt
caaf7bbda7
release: 0.17.1
2022-08-28 08:27:56 +01:00
David Hewitt
04c1ac87f1
release: 0.17.0
2022-08-23 21:21:19 +01:00
David Hewitt
0391b3b0c1
inventory: update to 0.3
2022-07-03 15:22:25 +01:00
mejrs
2d94cb4a2d
use memoffset instead
2022-06-12 18:28:21 +02:00
David Hewitt
3dcbcb7a95
update main to reflect 0.16.5 release
2022-05-15 20:31:00 +01:00
David Hewitt
8636db67f5
add regression test for PEP 587
2022-05-15 16:08:21 +01:00
messense
c477718fe7
Add support for generating non-abi3 python import libraries for Windows
...
targets
2022-05-12 14:32:20 +08:00
mejrs
f1e5d4c9a1
Un-ignore and expand on doc examples
2022-05-03 00:47:09 +02:00
cuishuang
19e32a0621
fix some typos
...
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-04-24 22:06:32 +08:00
David Hewitt
0787b670e8
pyproto: make deprecated feature opt-in
2022-04-21 20:19:14 +01:00
messense
97a9121025
pyo3-ffi: forward `extension-module` feature to `pyo3-build-config`
2022-04-19 13:17:47 +08:00
messense
1276068891
Add `generate-abi3-import-lib` feature to `pyo3-ffi`
2022-04-19 13:17:43 +08:00
Adam Reichold
d2caa056e9
release: 0.16.4
2022-04-14 07:56:42 +01:00
Sergey Kvachonok
ae7e1f5ee9
pyo3-build-config: Build "abi3" extensions without an interpreter
...
Support compiling portable "abi3" extension modules even when
the build host Python interpreter configuration is not available
or the discovered Python interpreter version is not supported.
Maturin already implements this by building "abi3" extension wheels
with `PYO3_NO_PYTHON` environment veriable set for cargo when
an `abi3-py3*` feature is detected.
Closes #2292
2022-04-13 10:40:08 +03:00
Sergey Kvachonok
479fe6781f
pyo3-build-config: Add `python3-dll-a` crate support
...
Automatically generate `python3.dll` import libraries for Windows
compile targets in the build script.
Adds a new PyO3 crate feature `generate-abi3-import-lib` enabling
automatic import library generation.
Closes #2231
2022-04-10 16:45:32 +03:00
David Hewitt
1ae0971a09
release: 0.16.3
2022-04-05 04:05:57 +01:00
Adam Reichold
db109867d3
Add intern! macro which can be used to amortize the cost of creating Python objects by storing them inside a GILOnceCell.
2022-04-03 21:16:42 +02:00
David Hewitt
2813c87eaf
Merge pull request #2092 from aganders3/export-conf
...
Add export-config feature to pyo3-build-config
2022-03-23 11:16:04 +00:00
Sergey Kvachonok
7a44aa1070
pyo3-macros-backend: Replace `pyo3-build-config` with `abi3` feature
...
Python 3.6 and older are not supported by the current PyO3 version,
so the removed interpreter version check was a no-op.
`pyo3_build_config::get()` attempts to read a config file from disk
when PyO3 is cross-compiling, which is probably bad for rust-analyzer
and other IDEs that attempt to sandbox the proc macro code.
2022-03-23 09:48:15 +03:00
Ashley Anderson
272d2bc0e6
Merge branch 'main' into export-conf
2022-03-22 12:59:54 -04:00
zhangjingqiang
847ffe563c
allow to compile with parking_lot 0.12
2022-03-22 13:50:25 +08:00
Ashley Anderson
bbe7a493d6
Refactor to serialize the whole InterpreterConfig into DEP_PYTHON_PYO3_CONFIG
2022-03-17 12:10:38 -04:00
Ashley Anderson
bc356f23e0
Fix coverage for pyo3-build-config CI ("full" feature)
2022-03-17 11:20:37 -04:00
Adam Reichold
922bbfc92d
release: 0.16.2
2022-03-15 19:20:00 +01:00
Adam Reichold
1e7275c924
Move links key from pyo3 to pyo3-ffi
...
Instead of a fake build dependency, move the links key from pyo3 to pyo3-ffi
which according to [1] is a prerequisite for build scripts to emit meta-data
that can be used by other build scripts which would incidentally ensure the
ordering between the build script of pyo3 and pyo3-ffi that we need.
[1] https://doc.rust-lang.org/cargo/reference/build-script-examples.html#using-another-sys-crate
2022-03-15 12:42:54 +01:00
Adam Reichold
0c7a13fbe1
Make pyo3-ffi a build dependency of pyo3 to ensure that its build script has finished before pyo3's build script starts.
2022-03-15 12:19:13 +01:00
David Hewitt
7056bae21f
release: 0.16.1
2022-03-05 16:21:44 +00:00
David Hewitt
2bd64c4962
guide: tidy up doctests
2022-03-04 22:50:12 +00:00
Adam Reichold
2fa91ada40
Extend optional dependency supported versions to include 0.12.
2022-03-04 08:30:15 +01:00
David Hewitt
4c434a21bd
release: 0.16.0
2022-02-27 20:28:51 +00:00
mejrs
9e29c1058c
Gut specialization and implement auto trait
...
Implement auto trait
Implement auto trait
Undo oopsie
Fix versions
Fix CI errors
Fix CI
Remove more specialization remnants
2022-02-22 22:43:23 +01:00
David Hewitt
558549e1c2
pyproto: split into new feature
2022-02-05 16:51:31 +00:00
David Hewitt
8b47f4f120
pytests: merge benchmark and test crates
2022-02-05 10:16:46 +00:00