Commit graph

4882 commits

Author SHA1 Message Date
David Hewitt 61fd70c476
Merge pull request #2675 from PyO3/relax-extract-array
Also relax the PySequence check when extracting fixed-sized arrays.
2022-10-13 20:57:43 +01:00
Adam Reichold f456ed7586 Also relax the PySequence check when extracting fixed-sized arrays. 2022-10-13 09:43:45 +02:00
David Hewitt 43261c7b8c
Merge pull request #2681 from PyO3/unpin-itertools
Unpin itertools after it was published without a spurious resolver specification.
2022-10-13 07:49:51 +01:00
Adam Reichold 9847530cc8 Fix code blocks containing HTML-related characters missing backticks. 2022-10-13 07:33:11 +02:00
Adam Reichold 75d06d07a4 Unpin itertools after it was published without a spurious resolver specification. 2022-10-13 07:09:39 +02:00
David Hewitt 49b1b22e68
Merge pull request #2658 from PyO3/add-citation
add CITATION.cff
2022-10-12 08:15:29 +01:00
Adam Reichold cd361dc5cc Add more implementations of ExactSizeIterator when iterating built-in Python data structures. 2022-10-11 18:21:02 +02:00
Bruno Kolenbrander c9b26f57cd
Merge pull request #2657 from mejrs/decorator_fix
Update decorator to use Cell counter
2022-10-10 19:55:36 +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
dependabot[bot] 55cfc32215
Merge pull request #2669 from PyO3/dependabot/github_actions/actions/setup-python-4 2022-10-10 04:33: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 fad39e74c4
Merge pull request #2666 from messense/dependabot-github-actions
Add `github-actions` to dependabot config
2022-10-10 10:22:38 +08: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 420a373653
add CITATION.cff 2022-10-04 19:33:00 +01:00
mejrs d8fa6be28a is 2022-10-04 19:33:02 +02:00
mejrs e0602b641c Just use Cell 2022-10-04 19:05:44 +02:00
mejrs 611ea4db49 Update decorator to use atomics 2022-10-04 17:59:46 +02:00
David Hewitt 4939a205ad
Merge pull request #2656 from davidhewitt/0.17.2-changelog
update main for 0.17.2 release
2022-10-04 08:52:10 +01:00
David Hewitt bd40011e93 release: 0.17.2 2022-10-04 08:13:53 +01:00
David Hewitt 4a68273b17
Merge pull request #2642 from davidhewitt/doctest-guide-function
guide: doctest function/ subpages
2022-09-27 19:28:02 +01:00
messense da989ecd3f
Merge pull request #2643 from davidhewitt/pymodule-implementation-detail
docs: note that `#[pymodule]` will create hidden module, like `#[pyfunction]`
2022-09-28 00:10:20 +08:00
David Hewitt 9257de40fd docs: note that #[pymodule] will create hidden module, like #[pyfunction] 2022-09-27 07:55:21 +01:00
David Hewitt 372176630e guide: doctest function/ subpages 2022-09-27 07:52:14 +01:00
David Hewitt a38a75da34
Merge pull request #2641 from smheidrich/fix-types-docs-topyobject-links
docs: Fix links to ToPyObject in PyLong and PyFloat docs
2022-09-27 07:41:41 +01:00
Bruno Kolenbrander fad5f6a07a
Merge pull request #2639 from mrob95/err-self-typo
docs: fixed typo in error_handling.md
2022-09-26 23:16:26 +02:00
David Hewitt 1d47286c18
Merge pull request #2640 from smheidrich/fix-guide-mult-py-build-config-dep-advice
docs: Fix pyo3-build-config dependency advice in guide
2022-09-25 09:24:46 +01:00
smheidrich bc00e9ff12 Improve PyLong/PyFloat doc links to PyAny::extract 2022-09-24 20:59:04 +02:00
smheidrich 9572220f6c Fix links to ToPyObject in types docs 2022-09-24 20:08:43 +02:00
smheidrich 2dd3c6c71f Document needing resolve-config for pyo3 cfgs 2022-09-24 16:18:05 +02:00
smheidrich a731c2ae60 Fix pyo3-build-config version in docs 2022-09-24 15:50:41 +02:00
Mike Roberts 4275abff0c docs: fixed typo in error_handling.md 2022-09-24 14:03:13 +01:00
messense 86ce4d1a13
Add git repository and edit urls to user guide (#2635) 2022-09-23 00:56:25 +00:00
David Hewitt 55740bb336
Merge pull request #2637 from davidhewitt/rust-1.64
rust: updates for 1.64
2022-09-22 21:34:31 +02:00
David Hewitt 8102ad1a1b rust: updates for 1.64 2022-09-22 21:03:34 +02:00
David Hewitt 486f54f070
Merge pull request #2636 from Psykopear/fix-chrono-proptest
Fixed wrong proptest in chrono conversion module
2022-09-22 15:20:03 +02:00
Federico Dolce eced1593f5 Fixed wrong proptest in chrono conversion module 2022-09-22 14:48:55 +02:00
David Hewitt c5ba1f0632
pyclass: better error and explanation why lifetimes are disallowed (#2633)
* pyclass: better error and explanation why lifetimes are disallowed

* extend detail on lifetimes
2022-09-22 11:14:06 +02: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
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 81a79778a2
Merge pull request #2631 from PyO3/relax-extract-sequence-pre-0.17
Relax extract_sequence to the status quo before 0.17 was released
2022-09-21 11:52:34 +02:00
David Hewitt a0be791577
Merge pull request #2630 from davidhewitt/option-pyclass-arg
pyfunction: fix compile error for Option<&T> argument with a default
2022-09-21 11:44:55 +02:00
Adam Reichold df933c53ca Pin once_cell to fix MSRV build. 2022-09-21 10:15:16 +02:00
Adam Reichold 0c30cba57a Add changelog entry detailing which behaviour change this does and does not revert. 2022-09-21 09:50:57 +02:00
Adam Reichold b6c6f7f2b6 Fix #2615 by relaxing the type check in extract_sequence.
This allows us to handle types like one-dimensional NumPy arrays which implement
just enough of the sequence protocol to support the extract_sequence function
but are not an instance of the sequence ABC.
2022-09-21 09:47:05 +02:00
Adam Reichold b2da5b20b1 Add a Python test exploring from which types a Vec can be extracted. 2022-09-21 09:47:05 +02:00