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 names of dependencies. #394
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The dependencies have been named ``importlib.resources`` and ``importlib.metadata`` - with dots, making them look like module names. This caused ``ContextualVersionConflict``s in some setups (see below). Replacing the names by an underscore, like the name of the packages at PyPI have, solved this problem. pkg_resources.ContextualVersionConflict: (importlib-resources 5.12.0 (…/myproj/.eggs/importlib_resources-5.12.0-py3.7.egg), Requirement.parse('importlib.resources; python_version < "3.9"'), {'chameleon'})
Pull Request Test Coverage Report for Build 7141142307
💛 - Coveralls |
malthe
approved these changes
Dec 8, 2023
Wow. thanks for applying that quickly! |
credfeto
added a commit
to credfeto/LiveBandPhotosCom
that referenced
this pull request
Dec 13, 2023
Bumps [chameleon](https://github.com/malthe/chameleon) from 4.3.0 to 4.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/malthe/chameleon/releases">chameleon's releases</a>.</em></p> <blockquote> <h2>4.4.0</h2> <h2>What's Changed</h2> <ul> <li>Make imports absolute by <a href="https://github.com/malthe"><code>@malthe</code></a> in <a href="https://redirect.github.com/malthe/chameleon/pull/393">malthe/chameleon#393</a></li> <li>Fix names of dependencies. by <a href="https://github.com/htgoebel"><code>@htgoebel</code></a> in <a href="https://redirect.github.com/malthe/chameleon/pull/394">malthe/chameleon#394</a></li> <li>Fix Windows regression by <a href="https://github.com/malthe"><code>@malthe</code></a> in <a href="https://redirect.github.com/malthe/chameleon/pull/396">malthe/chameleon#396</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/htgoebel"><code>@htgoebel</code></a> made their first contribution in <a href="https://redirect.github.com/malthe/chameleon/pull/394">malthe/chameleon#394</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/malthe/chameleon/compare/4.3.0...4.4.0">https://github.com/malthe/chameleon/compare/4.3.0...4.4.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/malthe/chameleon/blob/master/CHANGES.rst">chameleon's changelog</a>.</em></p> <blockquote> <h2>4.4.0 (2023-12-12)</h2> <ul> <li> <p>Add optional parameter <code>package_name</code> which allows loading a template relative to a package.</p> </li> <li> <p>Drop support for Python 3.7.</p> </li> <li> <p>Fix regression where Chameleon would not load templates correctly on Windows.</p> </li> <li> <p>Fix names of dependencies for <code>importlib_resources</code> and <code>importlib_metadata</code>. (<code>[#394](malthe/chameleon#394) <https://github.com/malthe/chameleon/pull/394></code>_)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/malthe/chameleon/commit/be2eca97c38d7ae68cbddfbbf340e4259b0be892"><code>be2eca9</code></a> Fix changelog</li> <li><a href="https://github.com/malthe/chameleon/commit/324171965929a4224a61dbeb67a7cc1db1be957e"><code>3241719</code></a> Prepare release</li> <li><a href="https://github.com/malthe/chameleon/commit/bedfd67ea48973f4ef70ffada384cbc76712e116"><code>bedfd67</code></a> Merge pull request <a href="https://redirect.github.com/malthe/chameleon/issues/396">#396</a> from malthe/test-windows</li> <li><a href="https://github.com/malthe/chameleon/commit/616fe2240d1f3d64e6ad028ab7ac63eb5e319144"><code>616fe22</code></a> Lint</li> <li><a href="https://github.com/malthe/chameleon/commit/512a872490107d1218a3076da0c1bbb123dcdecc"><code>512a872</code></a> Fix cleanup</li> <li><a href="https://github.com/malthe/chameleon/commit/5164a96d5f299b832fec0d0530a9eb747e0d4577"><code>5164a96</code></a> Manual archive cleanup to reveal bugs on Python < 3.11</li> <li><a href="https://github.com/malthe/chameleon/commit/64d00616778ff68bbfe51cbc7de92d234112b6c9"><code>64d0061</code></a> Split into separate method to clean up automatically</li> <li><a href="https://github.com/malthe/chameleon/commit/7b315f7a61261488ab6b4046d0708bac3fba604e"><code>7b315f7</code></a> Must provide as POSIX path for consistency</li> <li><a href="https://github.com/malthe/chameleon/commit/7ef0e58be6f743bc74d2cbda88d856ef9aac2b95"><code>7ef0e58</code></a> Must convert to POSIX path (not Windows)</li> <li><a href="https://github.com/malthe/chameleon/commit/0157521ae583d9b1c1ab68a1ea38ca101afda0e3"><code>0157521</code></a> Add optional argument 'package_name', allowing the loading relative to a package</li> <li>Additional commits viewable in <a href="https://github.com/malthe/chameleon/compare/4.3.0...4.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chameleon&package-manager=pip&previous-version=4.3.0&new-version=4.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The dependencies have been named
importlib.resources
andimportlib.metadata
- with dots, making them look like module names. This causedContextualVersionConflict
s in some setups (see below). Replacing the names by an underscore, like the name of the packages at PyPI have, solved this problem.This happend when running in under
tox -e py37
where the actual test command ispython setup.py test
: