fastobo / fastobo-py

Faultless AST for Open Biomedical Ontologies in Python.
http://fastobo.readthedocs.io
MIT License
24 stars 4 forks source link

Bump pyo3 from 0.14.1 to 0.14.5 #250

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pyo3 from 0.14.1 to 0.14.5.

Release notes

Sourced from pyo3's releases.

PyO3 0.14.5

This release fixes a compile regression of PyO3 0.14.4 where not all APIs related to PyStringData were conditionally disabled correctly on big-endian platforms.

In addition, a few public APIs have been added to the pyo3_build_config crate to support needs of the PyOxidizer project.

Thanks to @​decathorpe and @​indygreg for further reports, discussions, and resolution.

PyO3 0.14.4

This release resolves issues with the PyString::data API added in 0.14.3. After release it was found to be unsound on certain platforms, so has been disabled on those platforms and marked unsafe with the safety expectation that users will ensure it works appropriately on their platform as part of usage.

Thanks to @​decathorpe and @​indygreg for the report, discussion, and resolution.

PyO3 0.14.3

This release is a small set of bugfixes added on top of the PyO3 0.14.2 release.

For full details of all changes, see the CHANGELOG.

Thank you to everyone who contributed code, documentation, design ideas, bug reports, and feedback. The following users' commits are included in this release:

@​awestlake87 @​davidhewitt @​indygreg @​mejrs @​messense @​mtreinish @​pschafhalter @​Ptrskay3 @​sansyrox @​tiran

PyO3 0.14.2

This release is a small quality-of-life update for the PyO3 0.14 release series. Optional support for the indexmap crate has been added. In addition, there have been a number of documentation improvements, and bugfixes for regressions and incorrect FFI definitions.

Users who removed macOS cargo configuration from their setup after updating to PyO3 0.14 will unfortunately have to once again add configuration to their compilation after updating to this release. This is because PyO3 was using functionality which Cargo had erroneously allowed.

The recommended way to restore configuration for macOS is to add a build script which invokes pyo3_build_config::add_extension_module_link_args(). The cargo configuration previously recommended is also still an option.

For full details of all changes, see the CHANGELOG.

Thank you to everyone who contributed code, documentation, design ideas, bug reports, and feedback. The following users' commits are included in this release:

@​alex @​awestlake87 @​batconjurer @​birkenfeld @​davidhewitt @​deantvv @​Eric-Arellano @​indygreg
@​IvanIsCoding

... (truncated)

Changelog

Sourced from pyo3's changelog.

[0.14.5] - 2021-09-05

Added

  • Make pyo3_build_config::InterpreterConfig and subfields public. #1848
  • Add resolve-config feature to the pyo3-build-config to control whether its build script does anything. #1856

Fixed

  • Fix 0.14.4 compile regression on s390x-unknown-linux-gnu target. #1850

[0.14.4] - 2021-08-29

Changed

  • Mark PyString::data as unsafe and disable it and some supporting PyUnicode FFI APIs (which depend on a C bitfield) on big-endian targets. #1834

[0.14.3] - 2021-08-22

Added

  • Add PyString::data to access the raw bytes stored in a Python string. #1794

Fixed

  • Raise AttributeError to avoid panic when calling del on a #[setter] defined class property. #1779
  • Restrict FFI definitions PyGILState_Check and Py_tracefunc to the unlimited API. #1787
  • Add missing _type field to PyStatus struct definition. #1791
  • Reduce lower bound num-complex optional dependency to support interop with rust-numpy and ndarray when building with the MSRV of 1.41 #1799
  • Fix memory leak in Python::run_code. #1806
  • Fix memory leak in PyModule::from_code. #1810
  • Remove use of pyo3:: in pyo3::types::datetime which broke builds using -Z avoid-dev-deps #1811

[0.14.2] - 2021-08-09

Added

  • Add indexmap feature to add ToPyObject, IntoPy and FromPyObject implementations for indexmap::IndexMap. #1728
  • Add pyo3_build_config::add_extension_module_link_args to use in build scripts to set linker arguments (for macOS). #1755
  • Add Python::with_gil_unchecked unsafe variation of Python::with_gil to allow obtaining a Python in scenarios where Python::with_gil would fail. #1769

Changed

  • PyErr::new no longer acquires the Python GIL internally. #1724
  • Reverted PyO3 0.14.0's use of cargo:rustc-cdylib-link-arg in its build script, as Cargo unintentionally allowed crates to pass linker args to downstream crates in this way. Projects supporting macOS may need to restore .cargo/config.toml files. #1755

Fixed

  • Fix regression in 0.14.0 rejecting usage of #[doc(hidden)] on structs and functions annotated with PyO3 macros. #1722
  • Fix regression in 0.14.0 leading to incorrect code coverage being computed for #[pyfunction]s. #1726

... (truncated)

Commits
  • f1bb688 release: 0.14.5
  • b792207 pyo3-build-config: conditionalize symbols on resolve-config feature
  • eed5d4b pyo3-build-config: add a crate feature to control build script
  • 6c2791a pyo3-build-config: derive Clone on BuildFlags
  • 12958cc build: enable suppression of cargo:rustc-link-* lines
  • abe1fbf build: support emitting arbitrary lines from pyo3 build script
  • 56b8926 pyo3-build-config: make interpreter config and references types public
  • 6745bc4 ci: test and fix s390x build
  • 72e8356 Merge pull request #1839 from PyO3/release-0.14.4
  • d544c07 release: 0.14.4
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 2 years ago

Codecov Report

Merging #250 (8746a7f) into master (a01bdf0) will increase coverage by 0.02%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
+ Coverage   34.69%   34.71%   +0.02%     
==========================================
  Files          24       24              
  Lines        3678     3678              
==========================================
+ Hits         1276     1277       +1     
+ Misses       2402     2401       -1     
Impacted Files Coverage Δ
src/py/mod.rs 76.00% <0.00%> (-2.00%) :arrow_down:
src/py/id.rs 59.48% <0.00%> (-0.52%) :arrow_down:
src/py/term/clause.rs 27.80% <0.00%> (-0.17%) :arrow_down:
src/py/typedef/clause.rs 11.95% <0.00%> (-0.10%) :arrow_down:
src/py/pv.rs 69.91% <0.00%> (+0.81%) :arrow_up:
src/py/doc.rs 78.66% <0.00%> (+1.33%) :arrow_up:
src/error.rs 50.00% <0.00%> (+1.47%) :arrow_up:
src/iter.rs 58.16% <0.00%> (+3.06%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a01bdf0...8746a7f. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #255.