Skip to content

Tags: ddelange/pipgrip

Tags

0.12.0

Toggle 0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
📝 Update README (#164)

0.11.1

Toggle 0.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
📝 Update docs for pip 25.3 (metadata only resolve) (#161)

0.11.0

Toggle 0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
✨ Add --skip-invalid-input flag (#154)

* feat: add support for ignoring invalid requirements in pipgrip

- Introduced `--ignore-invalid` option in the CLI to allow processing of invalid requirements without halting.
- Updated `read_requirements` to handle invalid requirements based on the new option.
- Enhanced `discover_and_add` and `root_dep` methods in `PackageSource` to log warnings for invalid packages when `ignore_invalid` is enabled.
- Adjusted dependency handling to incorporate the new validation logic.

This improves user experience by allowing the continuation of processing even when some requirements are invalid.

* feat: implement --skip-invalid-input option for improved dependency handling

- Implement PR suggestions

* feat: add tests for --skip-invalid-input with requirements files

- Implemented tests to verify behavior of the --skip-invalid-input flag when used with requirements files containing mixed valid and invalid entries.
- Added assertions to ensure valid requirements are processed and appropriate warnings are logged for invalid entries.

* fix(formatting): run automated formatting via make install && make lint

* fix(tests): ensure tests pass with python 2.7

* fix(cli): update exception handling for invalid requirements

- Replaced direct usage of pkg_resources.RequirementParseError with the imported RequirementParseError for improved clarity and consistency in exception handling.
- Enhanced test documentation to clarify behavior of --skip-invalid-input across 2.x and 3.x, with regard to InvalidRequirement and RequirementParseError errors.

0.10.15

Toggle 0.10.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
⬆️ Bump softprops/action-gh-release from 2.2.1 to 2.3.2 in the github…

…-actions group across 1 directory (#153)

⬆️ Bump softprops/action-gh-release

Bumps the github-actions group with 1 update in the / directory: [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `softprops/action-gh-release` from 2.2.1 to 2.3.2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v2.2.1...v2.3.2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

0.10.14

Toggle 0.10.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🚸 Show partial solution on build errors (#148)

* 🚸 Show partial solution on build errors

* ✅ Add test coverage

0.10.13

Toggle 0.10.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🐛 Exclude 5.0rc1 when <5 is requested (#139)

0.10.12

Toggle 0.10.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
📄 Add copyright notice to all .py files (#136)

* 📄 Add copyright notice to all .py files

* Remove non-ascii char

* Remove non-ascii chars

* Remove non-ascii chars

0.10.11

Toggle 0.10.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
🐛 Fix package reports on Google Colab (#132)

* 🐛 Fix package reports on Google Colab

* ✅ Fix test

0.10.10

Toggle 0.10.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
🚸 Support Python UTF-8 mode on Windows (#130)

* 🚸 Support Python UTF-8 mode on Windows

* 🐛 Fix encoding check on Python 2

0.10.9

Toggle 0.10.9's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
🚸 Improve support for Windows (#128)

* Resolve encoding crashes that occur on Windows

Windows doesn't consistently use UTF-8 as the default system encoding.

Enabling universal newlines causes Python to decode STDOUT
using the default system encoding, which may not be UTF-8 compatible.
In addition, when pip is executed via `subprocess`,
it may crash when attempting to write output.

To resolve these issues, Python's UTF-8 mode (available in 3.7+)
is enabled via an environment variable,
universal newlines are disabled,
and STDOUT is read and explicitly decoded as UTF-8.

* 👷 Add windows-smoketest job in CI

* 👷 Add verbosity to windows-smoketest

* 🐛 Disable unicode on Windows for --tree

* ✅ Add `pragma: no cover`

* ♻️ Use encoding check instead of platform check

Allows unicode `--tree` on utf-8 windows boxes:

"Changed in version 3.7: Return 'utf-8' if the Python UTF-8 Mode is enabled."

https://docs.python.org/3/library/sys.html#sys.getfilesystemencoding

* 🚨 Run black

* 🐛 Disable unicode --tree for Windows again

* 🚨 Remove unused import

* 🚨 Run black

---------

Co-authored-by: ddelange <14880945+ddelange@users.noreply.github.com>