Skip to content

Update pinned dev requirements + fix KeyError if license matches multiple specified licenses#217

Closed
cdce8p wants to merge 6 commits into
raimon49:dev-5.5.0from
cdce8p:update-requirements
Closed

Update pinned dev requirements + fix KeyError if license matches multiple specified licenses#217
cdce8p wants to merge 6 commits into
raimon49:dev-5.5.0from
cdce8p:update-requirements

Conversation

@cdce8p

@cdce8p cdce8p commented Oct 12, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Oct 12, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.56%. Comparing base (e425ab0) to head (4083158).

Additional details and impacted files
@@            Coverage Diff             @@
##           dev-5.5.0     #217   +/-   ##
==========================================
  Coverage      99.56%   99.56%           
==========================================
  Files              1        1           
  Lines            456      457    +1     
==========================================
+ Hits             454      455    +1     
  Misses             2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@reactive-firewall
reactive-firewall self-requested a review October 9, 2025 04:21
@reactive-firewall reactive-firewall added the dependencies Pull requests that update a dependency file label Oct 9, 2025
@cdce8p
cdce8p changed the base branch from master to dev-5.5.0 October 10, 2025 10:58
@cdce8p cdce8p changed the title Update pinned dev requirements Update pinned dev requirements + fix KeyError if license matches multiple specified licenses Oct 10, 2025
Comment thread piplicenses.py
@cdce8p

cdce8p commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

Changed the target branch to dev-5.5.0, update the pinned dependencies again and fixed the (now) failing test cases.

@reactive-firewall reactive-firewall self-assigned this Oct 13, 2025
reactive-firewall added a commit that referenced this pull request Oct 13, 2025
…into patch-partial-matching-refactor-231

* includes and supersedes #216
* includes and supersedes #217
* includes and supersedes #224
* supersedes #234

* patch-2:
  Replaced element check logic with built in set.discard method
  Fixed: KeyError caused due to the same element getting removed from a set twice

* fix-keyerror:
  Fix KeyError on double deletion

* update-requirements:
  Update pinned requirements again
  Add changelog entry
  Fix KeyError if license matches multiple allow-only licenses
  Fix test case
  Update pinned dev requirements

* Closes GHI #231 (and related issues with modifing sets within loops)
* Improved related testing slightly with extra test-cases

Resolves Conflicts in:
	piplicenses.py

Co-authored-by: Marc Mueller <cdce8p@users.noreply.github.com>
Co-authored-by: Anmol Deep <anmol-aidora@users.noreply.github.com>
Co-authored-by: Florian Wünsche <flontis@users.noreply.github.com>
@reactive-firewall reactive-firewall mentioned this pull request Oct 13, 2025
1 task
@reactive-firewall

Copy link
Copy Markdown
Collaborator

Closing as Included-in and Superseded-by PR #238

@reactive-firewall reactive-firewall added the duplicate This issue or pull request already exists label Oct 13, 2025
@cdce8p
cdce8p deleted the update-requirements branch October 13, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants