Skip to content

Conversation

@batconjurer
Copy link

…sic structs and enums

Thank you for contributing to pyo3!

Please consider adding the following to your pull request:

  • an entry in CHANGELOG.md
  • docs to all new functions and / or detail in the guide
  • tests for all new or changed functions

Be aware the CI pipeline will check your pull request for the following:

  • Rust tests (Just cargo test or make test if you need to test examples)
  • Rust lints (make clippy)
  • Rust formatting (cargo fmt)
  • Python formatting (black . --check. You can install black with pip install black)
  • Compatibility with all supported Python versions for all examples. This uses tox; you can do run it using make test_py.

You can run a similar set of checks as the CI pipeline using make test.

batconjurer and others added 30 commits May 27, 2021 15:42
Simplify code generated for for_each_method_def and for_each_proto_slot
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
Co-authored-by: Georg Brandl <[email protected]>
If we got more then one file, only take those that contain the arch name.
For ubuntu 20.04 with host architecture x86_64 and a foreign architecture of armhf
this reduces the number of candidates to 1:

  $ find /usr/lib/python3.8/ -name '_sysconfigdata*.py' -not -lname '*'
  /usr/lib/python3.8/_sysconfigdata__x86_64-linux-gnu.py
  /usr/lib/python3.8/_sysconfigdata__arm-linux-gnueabihf.py

CHANGELOG.md: add entry for cross-sysconfigdata filter on arch

commit changelog:
1. initial
2. if filtered list is empty, use pre filtered.
3. clippy is_empty and cloned
messense and others added 30 commits July 20, 2021 08:40
bench: don't alert on CI benchmark changes
…3#1693)

* Rewrite `module.md` for clarity and add tip on code organization

* Add section on how to build the guide + add workaround proposed by David

* Make more clear references to PyO3#1709
)

* Add support to IndexMap

* Fix indexmap version to 1.6.2

* Remove code duplication by mistake

* Fix ambiguity in test

* Minor change for doc.rs

* Add to lib.rs docstring

* Add indexmap to conversion table

* Add indexmap flag in docs.rs action

* Add indexmap feature to CI

* Add note in changelog

* Use with_gil in tests

* Move code to src/conversions/indexmap.rs

* Add PR number to CHANGELOG

Co-authored-by: David Hewitt <[email protected]>

* Add round trip test

* Fix issue in MSRV Ubuntu build

* Fix Github workflow syntax

* Yet Another Attempt to Fix MSRV Ubuntu build

* Specify hashbrown to avoid ambiguity in CI

* Add suggestions

* More flexible version for indexmap

* Add documentation

* Address PR comments

* Export indexmap for docs

Co-authored-by: David Hewitt <[email protected]>
pypy: fix FFI definition of Py_Buffer
err: don't use with_gil internally in PyErr::new()
docs: use pyo3.rs/latest instead of pyo3.rs/main
testing: use `mod tests` instead of `mod test`
rust: updates for rust & clippy 1.54
readme: slightly improve getting started notes
pyo3-pytests: don't set profile in Cargo.toml
…emoved all unsafe code from macro generated code. Two other small fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.