Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Clippy Fix (backport #930) and Pin pillow<10 in CI (backport #922) #931

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 17, 2023

This is an automatic backport of pull request #930 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Because of a new Rust update, Clippy now warned for a line of code in cycle_basis.rs in rustworkx-core.
This PR fixes that one line so that Clippy passes.

(cherry picked from commit d88f18b)
@mtreinish mtreinish added the automerge Queue a approved PR for merging label Jul 17, 2023
@coveralls
Copy link

coveralls commented Jul 17, 2023

Pull Request Test Coverage Report for Build 5577769546

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 12 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.07%) to 96.383%

Files with Coverage Reduction New Missed Lines %
src/shortest_path/all_pairs_bellman_ford.rs 1 98.88%
src/shortest_path/all_pairs_dijkstra.rs 2 98.54%
rustworkx-core/src/min_scored.rs 9 59.09%
Totals Coverage Status
Change from base Build 5326987829: -0.07%
Covered Lines: 15004
Relevant Lines: 15567

💛 - Coveralls

Since the recent release of Pillow 10.0.0 the docs CI job has started
failing due to an error in Pillow when trying to run the jupyter-execute
cell in the `.to_dot()` docstring. It looks like a bug that was
introduced in the new release which is being tracked in
python-pillow/Pillow#7259 where it's trying to return a jpeg
representation of the object from the RGBA data loaded from a PNG. Until
the issue is resolved upstream in pillow this commit just caps the
version we run in CI via the constraints file. While pillow is an
optional dependency and we could cap the version in the extras, this
issue isn't severe enough to warrant that, and the typical pillow usage,
especially via the rustworkx api (i.e. graphviz_draw() which returns a
PIL.Image object) will continue to work as expected with pillow 10.0.0
there isn't a reason to cap more broadly. This is just needed as a
workaround to unblock CI.
@mtreinish mtreinish changed the title Adding Clippy Fix (backport #930) Adding Clippy Fix (backport #930) and Pin pillow<10 in CI (backport #922) Jul 17, 2023
@mergify mergify bot merged commit 14af315 into stable/0.13 Jul 17, 2023
30 checks passed
@mergify mergify bot deleted the mergify/bp/stable/0.13/pr-930 branch July 17, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Queue a approved PR for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants