-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix resolving requirements with percent encoded characters #144
Commits on Oct 10, 2023
-
Fix several dependency resolution tests
Update the assertions to re-align with changed dependency trees. Signed-off-by: Frank Viernau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2476c73 - Browse repository at this point
Copy the full SHA 2476c73View commit details -
This fixes several test cases in e.g. `test_cli.py`, `test_apy.py`. Signed-off-by: Frank Viernau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2adca8 - Browse repository at this point
Copy the full SHA b2adca8View commit details -
Fix resolving requirements with percent encoded characters
`Distribution.from_link()` derives the version string of a package from the given (percent encoded) `Link.url`. That derivation lacks the decoding, so the resulting version string may also contain percent encoded characters in which case the dependency resolution fails. Fix the resolution by URL adding the missing unquoting. Fixes aboutcode-org#143. Signed-off-by: Frank Viernau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c73d8d - Browse repository at this point
Copy the full SHA 8c73d8dView commit details
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 37b37c4 - Browse repository at this point
Copy the full SHA 37b37c4View commit details
Commits on Oct 18, 2023
-
Resolve quoted names in requirements aboutcode-org#143
Move the resolution to the from_filename() method in subclasses Reference: aboutcode-org#143 Signed-off-by: Philippe Ombredanne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1298af8 - Browse repository at this point
Copy the full SHA 1298af8View commit details
Commits on Oct 24, 2023
-
Add new tests for unquoted/quoted names aboutcode-org#143
These new test were missing originally and they excercise all the corner cases of encoding. Reference: aboutcode-org#143 Signed-off-by: Philippe Ombredanne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a3558f - Browse repository at this point
Copy the full SHA 8a3558fView commit details -
Refine and use --generic-paths option in tests
* Ensure that we honor the --generic-paths option when converting to plain mapping. * Avoid recursive imports by moving remove_test_data_dir_variable_prefix to utils.py * Simplifify tests to bypass the creation of an output file when not needed * Some tests are also updated to account for package version updates. Reference: aboutcode-org#143 Signed-off-by: Philippe Ombredanne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11716a6 - Browse repository at this point
Copy the full SHA 11716a6View commit details