-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Circular dependency between p.a.multilingual and Products.CMFPlone #3859
Comments
This is already fixed... in Plone 6.1. Making plone.app.multilingual a core add-on served two purposes:
So on 6.1 this is fixed, but the circular dependency remains on 6.0. That is an open end that we did not tackle yet. Some options:
If the last item works, that would be fastest, so worth a shot. |
Forget what I said. :-) In 6.0 there is no problem. The problem is on 6.1. And there it has long been solved, except for one thing: we need a release of CMFPlone and update the version on dist.plone.org/release/6.1-dev. I will see if I can make an internal release. It still feels slightly too early for an alpha, with some more stuff that needs to be arranged, and it would take too much time now. |
We first need #3861 |
I have made internal releases of |
Locally:
So the |
Ah, adding
I don't see what the conflict would be. |
This seems to work:
But this not:
It could be that Don't tell me we need |
I'm afraid so, that we would need A fancy generator of constraints files that take into account your development packages so that pip can install them properly. Maybe is worth to bring the topic back to |
Another solution would be to improve |
With standard pip, we cannot both install ourselves in editable mode *and* use a constraints file that has a pin for our package. With mxdev, we ignore this single pin. See plone/Products.CMFPlone#3859 (comment)
With standard pip, we cannot both install ourselves in editable mode *and* use a constraints file that has a pin for our package. With mxdev, we ignore this single pin. See plone/Products.CMFPlone#3859 (comment)
With standard pip, we cannot both install ourselves in editable mode *and* use a constraints file that has a pin for our package. With mxdev, we ignore this single pin. See plone/Products.CMFPlone#3859 (comment)
Branch: refs/heads/master Date: 2023-12-22T23:02:16+01:00 Author: Gil Forcada Codinachs (gforcada) <[email protected]> Commit: plone/plone.app.multilingual@3c685cd Configuring with plone/meta Files changed: A .flake8 A .github/workflows/meta.yml A news/dd37b9f9.internal M .editorconfig M .gitignore M .meta.toml M .pre-commit-config.yaml M pyproject.toml M tox.ini Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:02:17+01:00 Author: Gil Forcada Codinachs (gforcada) <[email protected]> Commit: plone/plone.app.multilingual@ad61fdd cleanup: remove options on setup.cfg Files changed: M setup.cfg Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:02:17+01:00 Author: Gil Forcada Codinachs (gforcada) <[email protected]> Commit: plone/plone.app.multilingual@a294930 fix: adjust dependencies Files changed: M .meta.toml M pyproject.toml M setup.py Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:02:17+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@9fce2c8 Tox: use 6.1-dev constraints. Files changed: M tox.ini Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:02:17+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@e10287b Removed duplicate Products.CMFPlone from install_requires. Files changed: M setup.py Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:02:18+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@3af60fb Use mxdev in tox. With standard pip, we cannot both install ourselves in editable mode *and* use a constraints file that has a pin for our package. With mxdev, we ignore this single pin. See plone/Products.CMFPlone#3859 (comment) Files changed: A mx.ini A requirements.txt M tox.ini Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:05:11+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@c8f77f5 Meta: extra git ignores and check-manifest ignores. Applied and configured with latest plone/meta. Afterwards, manually removed these lines from a few tox envs: ``` use_develop = true skip_install = false constrain_package_deps = true ``` And use 6.1-dev. Files changed: M .editorconfig M .github/workflows/meta.yml M .gitignore M .meta.toml M .pre-commit-config.yaml M pyproject.toml M tox.ini Repository: plone.app.multilingual Branch: refs/heads/master Date: 2023-12-22T23:05:11+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@58d1c52 Restore mxdev. Files changed: M tox.ini Repository: plone.app.multilingual Branch: refs/heads/master Date: 2024-01-07T22:11:42+01:00 Author: Maurits van Rees (mauritsvanrees) <[email protected]> Commit: plone/plone.app.multilingual@6689689 Merge pull request #419 from plone/config-with-default-template-5bc28a6f Config with default template Files changed: A .flake8 A .github/workflows/meta.yml A mx.ini A news/dd37b9f9.internal A requirements.txt M .editorconfig M .gitignore M .meta.toml M .pre-commit-config.yaml M pyproject.toml M setup.cfg M tox.ini
The PLIP was merged and is closed now, so I close this one. |
As
plone.app.multilingual
is being moved to being a plone core add-on,CMFPlone
should stop importing from it, right? 🤔There are quite a few repositories were I can not enable the
circular
GHA due to this circular dependency being reported 😕Any takers? 😄
The text was updated successfully, but these errors were encountered: