Skip to content
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

Update plone.app.iterate with master of original. #2

Open
wants to merge 255 commits into
base: master
Choose a base branch
from

Conversation

adrianschulz
Copy link

No description provided.

mauritsvanrees and others added 30 commits November 24, 2017 17:47
Use `get_installer` in general upgrade step.
fix relative imports for py3
Run main tests against plone.app.contenttypes; skip AT tests if no AT
Avoid test setup error for AT layer when it's not installed
pre-commit-ci bot and others added 30 commits November 4, 2024 20:37
updates:
- [github.com/asottile/pyupgrade: v3.17.0 → v3.19.0](asottile/pyupgrade@v3.17.0...v3.19.0)
- [github.com/mgedmin/check-manifest: 0.49 → 0.50](mgedmin/check-manifest@0.49...0.50)
- [github.com/mgedmin/check-python-versions: 0.22.0 → 0.22.1](mgedmin/check-python-versions@0.22.0...0.22.1)
[pre-commit.ci] pre-commit autoupdate

[ci-skip]
updates:
- [github.com/asottile/pyupgrade: v3.19.0 → v3.19.1](asottile/pyupgrade@v3.19.0...v3.19.1)
[pre-commit.ci] pre-commit autoupdate

[ci-skip]
Allows working copy of Plone Site
This fixes the tests that fail now that the plone.locking behavior is required for check-out/in, which already was required in practice anyway.
It was not needed, and in Plone 6.1 it causes a warning because `plone.app.discussion` is not available:

```
DeprecationWarning:
No behavior registration found for behavior named
"plone.allowdiscussion" for factory "FolderishDocument"
- trying deprecated fallback lookup (will be removed in 3.0)..."
```
It was no longer used.
We still have the plone.app.iterate:testingdx profile.
This prevents z3c.dependencychecker from complaining that plone.app.contenttypes is missing as dependency.
Also, until now this testingdx profile (and the test profile that I removed in the previous commit) was always available, so not only during testing, and that is not what we want.
cancel_allowed tests of test_containers.py
…t_iterate.py to test_containers.py.

test_iterate.py is meant for testing non-folderish items.
test_containers.py is meant for testing folderish containers.
This only influences test_baselineVersionCreated, making sure that documents initially have no versions in the repository.
Do this with items and containers, versionable and not versionable, lockable and not lockable.
Only create a LockableFolder in one test, to test the combination of a portal_type that cannot be versioned, but can be locked.
Do not allow checkout when item is not lockable or is already locked.
updates:
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0)
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1)
[pre-commit.ci] pre-commit autoupdate

[ci-skip]
updates:
- [github.com/pycqa/isort: 6.0.0 → 6.0.1](PyCQA/isort@6.0.0...6.0.1)
- [github.com/PyCQA/flake8: 7.1.1 → 7.1.2](PyCQA/flake8@7.1.1...7.1.2)
[pre-commit.ci] pre-commit autoupdate

[ci-skip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.