Closed petschki closed 2 years ago
@petschki thanks for creating this Pull Request and helping to improve Plone!
TL;DR: Finish pushing changes, pass all other checks, then paste a comment:
@jenkins-plone-org please run jobs
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.
Happy hacking!
@jenkins-plone-org please run jobs
@jenkins-plone-org please run jobs
jenkins jobs are green, but I do not really know why the tox/pytest setup doesn't work on gha ... @davisagli maybe you have some idea here?
@jenkins-plone-org please run jobs
@petschki It looks like the tests have a dependency on https://pypi.org/project/py/ which used to be a dependency of pytest, but now needs to be required explicitly, or replaced
@jenkins-plone-org please run jobs
@jenkins-plone-org please run jobs
The Jenkins Plone 6 jobs failed because of a missing version pin for py
in coredev. I have added it and started a 3.10 job.
Is py
really needed though? Its pypi page says: "NOTE: this library is in maintenance mode and should not be used in new code."
On my Mac, when I comment out the new py
dependency in setup.py
, all tox tests still pass. So maybe it was only needed temporarily?
Meanwhile on Jenkins 5.2 3.8 passes, but 2.7 and 3.7 fail:
Invalid test_suite, None, in diazo.tests.test_diazo
As I wrote, it could be an option to target this at Plone 6 only.
Invalid test_suite, None, in diazo.tests.test_diazo
This is fixed. While pytest gives a warning when returning the testsuite in test_suite()
, zope.testrunner needs it explicitly.
I've pinned the py
dependency in versions.cfg but this doesn't seem to work right now. Try to remove it again...
All green, I merge.
Thanks!
see https://community.plone.org/t/plone-still-depends-on-the-future-python2-3-python-egg/15779