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

Bump zope.testrunner / fix test isolation problems #155

Closed
wants to merge 7 commits into from
Closed

Conversation

gforcada
Copy link
Member

@gforcada gforcada commented Jan 3, 2016

Applies back #72 after it was reverted on #154.

@do3cc nailed why a minor version bump of zope.testrunner makes our tests fail: mixing ZopeTestCase and plone.app.testing within the same distribution renders all its tests unstable.

Note that fixing these test isolation problems not only has the benefit of having more robust tests, but at the same time our test infrastructure will be way more easy (and with that making it far easier to reproduce bugs that are only triggered in Jenkins).

Another nice bonus is that unit tests will run first and thus early feedback if you are already expecting failures.

Lastly a slight increase on speed, due to less layer setup and teardown should be observed as well.

The list of packages affected are:

please create separate tickets for each of them and link them back here so we can keep track of it

  • archetypes.multilingual
  • borg.localrole
  • plone.app.blob
  • plone.app.content
  • plone.app.contentlisting
  • plone.app.customerize
  • plone.app.i18n
  • plone.app.layout
  • plone.app.multilingual
  • plone.app.portlets
  • plone.app.testing
  • plone.app.upgrade
  • plone.app.workflow
  • plone.app.z3cform
  • plone.browserlayer
  • plone.openid
  • plone.session
  • plone.stringinterp
  • plone.testing
  • plone.theme
  • Products.Archetypes
  • Products.ATContentTypes
  • Products.CMFEditions
  • Products.CMFPlacefulWorkflow
  • Products.CMFPlone
  • Products.Marshall

@gforcada
Copy link
Member Author

gforcada commented Jan 4, 2016

Ok, so nothing wrong: jenkins does something like:

python bootstrap.py
bin/buildout
bin/alltests --all
bin/alltests-at

On the pull request job it already gives an (unrelated) error on the third command (bin/alltest --all) and for whichever reason the build stops and does not run the last command.

@gforcada
Copy link
Member Author

gforcada commented Jan 4, 2016

My finding so far on what's failing: the errors are while running Products.CMFDiffTool and plone.app.testing tests.

It looks like there are layer setup/teardown mistakes in CMFDiffTool:

On zope.testrunner 4.4.4 the AT layer is the first layer to be run, works perfectly and the rest of the layers run fine as well.

On zope.testrunner > 4.4.4 the AT layer is ran after other layers have been executed and it fails with a ValueError: undefined property 'content_meta_type' which looking at plone/Products.CMFPlone#382 makes me think that some layers are leaking some content type data and thus making the AT layer to fail while setting up.

Minimal way to trigger it:

  • get a 4.3 buildout.coredev and switch to this branch
  • run ./bin/test -s Products.CMFDiffTool -t testATCompoundDiff -t TestTextDiff -t TestChangeSet

@tisto @jensens does this look right?

@tisto
Copy link
Member

tisto commented Jan 4, 2016

We see these kind of problems all the time. Most of our old tests just pass because they are ran in a specific order. Changing the order when older packages are involved almost always leads to problems. We have tons of test isolation issues hidden in our setup. So far we were just able to fix the most obvious ones.

The error "ValueError: undefined property 'content_meta_type'" is also well known. See plone/Products.CMFPlone#382 for details.

@gforcada
Copy link
Member Author

gforcada commented Jan 4, 2016

@tisto ok, thanks, so at least I'm right on diagnosing the problem.

I will try to work on it if nobody is faster than me :-)

@do3cc
Copy link
Member

do3cc commented Jan 28, 2016

Important progress update.
For now I kicked plone.app.folder and plone.namedfile from the tests because these packages use both ZopeTestCase AND plone.app.testing.
They can only work, if they choose ONE of those things. I am writing docs in plone.app.testing that explain why one has to choose

@do3cc
Copy link
Member

do3cc commented Jan 28, 2016

I am giving up here for now.
I started to kick out packages that use both plone.app.testing and ZopeTestCase.
Since more and more crept up i wrote a little script to find them simpler:

for pat in `cat bin/test | grep test-path | sed -e 's/.*\(.Users.*\).,.*/\1/'`
do
  echo $pat | rev | cut -d/ -f1,2 | rev
  ag 'ZopeTestCase|plone.app.testing' $pat | sed -Ee 's/.*(plone.app.testing|ZopeTestCase).*/\1/' | sort | uniq -c
done

Mac specific!

Without a real counting, just by looking, it seems that about 10% of packages use both systems. I can't just kick them all out :-( They all need to be converted to plone.app.testing, step by step.

@do3cc
Copy link
Member

do3cc commented Jan 28, 2016

The packages with problems and the script to find them. Only on mac

for pat in `cat bin/test | grep test-path | sed -e 's/.*\(.Users.*\).,.*/\1/' | sort | uniq`
do
  echo $pat | rev | cut -d/ -f1,2 | rev
  ag 'ZopeTestCase|plone.app.testing' $pat | sed -Ee 's/.*(plone.app.testing|ZopeTestCase).*/\1/' | sort | uniq -c
done | awk '/[0-9].*plone.app.testing/ {pat=1} /[0-9].*ZopeTestCase/ {ZTC=1} /src|egg/ {if (ZTC && pat) {print "- [ ] " last}; ZTC=0; pat=0; split($0, x1, "/"); split(x1[2], x2, "-"); last=x2[1]}'

@gforcada moved the list of packages on the first message, so that github show the nice progress bar

@gforcada gforcada changed the title Bump zope.testrunner Bump zope.testrunner / fix test isolation problems Jan 30, 2016
@gforcada
Copy link
Member Author

@do3cc could we add a command line switch to plone.app.testing to log somewhere which tests use ZopeTestCase? That would make things much easier to know what has to be fixed/changed, as it is not as simple as to grep through a package looking for ZopeTestCase.

plone.app.testing has a bbb module that uses ZopeTestCase...

@do3cc
Copy link
Member

do3cc commented Jan 30, 2016

You mean the test runner itself, no?
Plone.app.testing does not know how triggered patching.

You can find out from the output of the testrunner. The patching happens in the zopelite Layer. So you look for setup ZopeLite and then for the next occurrence of Running...tests above that line

Von meinem iPhone gesendet

Am 30.01.2016 um 02:48 schrieb Gil Forcada Codinachs <notifications@github.commailto:notifications@github.com>:

@do3cchttps://github.com/do3cc could we add a command line switch to plone.app.testing to log somewhere which tests use ZopeTestCase? That would make things much easier to know what has to be fixed/changed, as it is not as simple as to grep through a package looking for ZopeTestCase.

plone.app.testing has a bbb modulehttps://github.com/plone/plone.app.testing/blob/master/plone/app/testing/bbb.py that uses ZopeTestCase...

Reply to this email directly or view it on GitHubhttps://github.com//pull/155#issuecomment-177044675.

________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments.

@gforcada
Copy link
Member Author

@do3cc yes sorry, you are totally right (writing at 3AM is probably not the best time :-), zope.testrunner should have this option.

@pbauer
Copy link
Member

pbauer commented Feb 3, 2016

The ValueError: undefined property 'content_meta_type'-Errors were due to the incomplete uninstall-profile of p.a.contenttypes that was run in tearDownPloneSite. I fixed that in plone/plone.app.contenttypes@34916e5 .

But still: A registered type should not leak to other tests.

@do3cc
Copy link
Member

do3cc commented Feb 3, 2016

I guess some caching of stuff happens in GS

gforcada added a commit to plone/plone.app.testing that referenced this pull request Feb 15, 2016
This will help identify all tests that rely on it.

Specially meant for plone/buildout.coredev#155
@gforcada
Copy link
Member Author

I just thought, that specially for the tests that are not directly importing/deriving from ZopeTestCase, but instead doing it through plone.app.testing.bbb module, this branch can be really helpful identifying all tests that need to be updated: plone/plone.app.testing@7259887

mister-roboto pushed a commit that referenced this pull request Aug 16, 2017
Branch: refs/heads/master
Date: 2017-07-18T11:58:09+02:00
Author: Christian Geier (geier) <geier@lostpackets.de>
Commit: collective/icalendar@9a03ff1

Allow ignoring of TZ offsets &gt; 24h

fixes #155

Files changed:
M CHANGES.rst
M src/icalendar/prop.py
M src/icalendar/tests/test_unit_cal.py
Repository: icalendar

Branch: refs/heads/master
Date: 2017-08-16T23:35:39+02:00
Author: Christian Geier (geier) <github@lostpackets.de>
Commit: collective/icalendar@68e33af

Merge pull request #235 from collective/fix/155

Allow ignoring of TZ offsets &gt; 24h

Files changed:
M CHANGES.rst
M src/icalendar/prop.py
M src/icalendar/tests/test_unit_cal.py
@gforcada gforcada reopened this Aug 17, 2017
@gforcada gforcada closed this Feb 3, 2018
@jensens jensens deleted the testrunner branch March 29, 2018 13:33
mister-roboto pushed a commit that referenced this pull request Apr 9, 2018
Branch: refs/heads/master
Date: 2018-04-04T00:57:10+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.upgrade@2dd2203

Update i18n domain for some actions

See plone/plone.app.event#204

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2018-04-09T10:59:32+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.upgrade@25ef84d

Merge pull request #155 from plone/gforcada-update-domain

Update i18n domain for some actions

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
mister-roboto pushed a commit that referenced this pull request Apr 9, 2018
Branch: refs/heads/master
Date: 2018-04-04T00:57:10+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.upgrade@2dd2203

Update i18n domain for some actions

See plone/plone.app.event#204

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2018-04-09T10:59:32+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.upgrade@25ef84d

Merge pull request #155 from plone/gforcada-update-domain

Update i18n domain for some actions

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
mister-roboto pushed a commit that referenced this pull request Apr 9, 2018
Branch: refs/heads/master
Date: 2018-04-04T00:57:10+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.upgrade@2dd2203

Update i18n domain for some actions

See plone/plone.app.event#204

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
Repository: plone.app.upgrade

Branch: refs/heads/master
Date: 2018-04-09T10:59:32+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.upgrade@25ef84d

Merge pull request #155 from plone/gforcada-update-domain

Update i18n domain for some actions

Files changed:
A plone/app/upgrade/v51/final.py
M CHANGES.rst
M plone/app/upgrade/v51/configure.zcml
mister-roboto pushed a commit that referenced this pull request Sep 14, 2018
Branch: refs/heads/master
Date: 2018-09-12T15:45:22+02:00
Author: Peter Holzer (agitator) <peter.holzer@agitator.com>
Commit: plone/plonetheme.barceloneta@62cb35c

Integrated plone.app.event styles and further cleanup.

Files changed:
M CHANGES.rst
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map
M plonetheme/barceloneta/theme/less/event.plone.less
M plonetheme/barceloneta/theme/less/main.plone.less
M plonetheme/barceloneta/theme/less/portlets.plone.less
M plonetheme/barceloneta/theme/less/type.plone.less
M setup.py
Repository: plonetheme.barceloneta

Branch: refs/heads/master
Date: 2018-09-14T10:15:50+02:00
Author: Sune Broendum Woeller (sunew) <sune@woeller.dk>
Commit: plone/plonetheme.barceloneta@10bc749

Merge pull request #155 from 'event-styles'

Files changed:
M CHANGES.rst
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map
M plonetheme/barceloneta/theme/less/event.plone.less
M plonetheme/barceloneta/theme/less/main.plone.less
M plonetheme/barceloneta/theme/less/portlets.plone.less
M plonetheme/barceloneta/theme/less/type.plone.less
M setup.py
mister-roboto pushed a commit that referenced this pull request Sep 14, 2018
Branch: refs/heads/master
Date: 2018-09-12T15:45:22+02:00
Author: Peter Holzer (agitator) <peter.holzer@agitator.com>
Commit: plone/plonetheme.barceloneta@62cb35c

Integrated plone.app.event styles and further cleanup.

Files changed:
M CHANGES.rst
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map
M plonetheme/barceloneta/theme/less/event.plone.less
M plonetheme/barceloneta/theme/less/main.plone.less
M plonetheme/barceloneta/theme/less/portlets.plone.less
M plonetheme/barceloneta/theme/less/type.plone.less
M setup.py
Repository: plonetheme.barceloneta

Branch: refs/heads/master
Date: 2018-09-14T10:15:50+02:00
Author: Sune Broendum Woeller (sunew) <sune@woeller.dk>
Commit: plone/plonetheme.barceloneta@10bc749

Merge pull request #155 from 'event-styles'

Files changed:
M CHANGES.rst
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css
M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map
M plonetheme/barceloneta/theme/less/event.plone.less
M plonetheme/barceloneta/theme/less/main.plone.less
M plonetheme/barceloneta/theme/less/portlets.plone.less
M plonetheme/barceloneta/theme/less/type.plone.less
M setup.py
mister-roboto pushed a commit that referenced this pull request Sep 17, 2018
Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1ca7ff6

fix comparing string to int in py3

Files changed:
M plone/app/content/browser/templates/content_status_history.pt
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1820684

fix dumping VocabLookupException in py3

Files changed:
M plone/app/content/browser/vocabulary.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Thomas Lotze (tlotze) <thomas@thomas-lotze.net>
Commit: plone/plone.app.content@200a03e

update deprecated assert method calls

Files changed:
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_widgets.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@8e176b2

fix ObjectCutView in py3

Files changed:
M plone/app/content/browser/actions.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@4f7fb87

add forgotten import

Files changed:
M plone/app/content/browser/actions.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@6a42ccb

fix all tests for py3

Files changed:
M plone/app/content/basecontent.rst
M plone/app/content/browser/contents/paste.py
M plone/app/content/browser/contents/rename.py
M plone/app/content/browser/tableview.py
M plone/app/content/container.py
M plone/app/content/namechooser.txt
M plone/app/content/testing.py
M plone/app/content/tests/test_actions.py
M plone/app/content/tests/test_adding.py
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_reviewlist.py
M plone/app/content/tests/test_selectdefaultpage.py
M plone/app/content/tests/test_widgets.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@63541ae

fix behavior-tuple

Files changed:
M plone/app/content/tests/test_contents.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:41:10+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1819ec7

add changenote and classifiers

Files changed:
M CHANGES.rst
M setup.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-17T06:18:22+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@6a09f21

Merge pull request #155 from plone/python3

Python3

Files changed:
M CHANGES.rst
M plone/app/content/basecontent.rst
M plone/app/content/browser/actions.py
M plone/app/content/browser/contents/paste.py
M plone/app/content/browser/contents/rename.py
M plone/app/content/browser/tableview.py
M plone/app/content/browser/templates/content_status_history.pt
M plone/app/content/browser/vocabulary.py
M plone/app/content/container.py
M plone/app/content/namechooser.txt
M plone/app/content/testing.py
M plone/app/content/tests/test_actions.py
M plone/app/content/tests/test_adding.py
M plone/app/content/tests/test_contents.py
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_reviewlist.py
M plone/app/content/tests/test_selectdefaultpage.py
M plone/app/content/tests/test_widgets.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Sep 17, 2018
Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1ca7ff6

fix comparing string to int in py3

Files changed:
M plone/app/content/browser/templates/content_status_history.pt
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1820684

fix dumping VocabLookupException in py3

Files changed:
M plone/app/content/browser/vocabulary.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Thomas Lotze (tlotze) <thomas@thomas-lotze.net>
Commit: plone/plone.app.content@200a03e

update deprecated assert method calls

Files changed:
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_widgets.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@8e176b2

fix ObjectCutView in py3

Files changed:
M plone/app/content/browser/actions.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@4f7fb87

add forgotten import

Files changed:
M plone/app/content/browser/actions.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@6a42ccb

fix all tests for py3

Files changed:
M plone/app/content/basecontent.rst
M plone/app/content/browser/contents/paste.py
M plone/app/content/browser/contents/rename.py
M plone/app/content/browser/tableview.py
M plone/app/content/container.py
M plone/app/content/namechooser.txt
M plone/app/content/testing.py
M plone/app/content/tests/test_actions.py
M plone/app/content/tests/test_adding.py
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_reviewlist.py
M plone/app/content/tests/test_selectdefaultpage.py
M plone/app/content/tests/test_widgets.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:33:56+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@63541ae

fix behavior-tuple

Files changed:
M plone/app/content/tests/test_contents.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-16T18:41:10+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@1819ec7

add changenote and classifiers

Files changed:
M CHANGES.rst
M setup.py
Repository: plone.app.content

Branch: refs/heads/master
Date: 2018-09-17T06:18:22+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.content@6a09f21

Merge pull request #155 from plone/python3

Python3

Files changed:
M CHANGES.rst
M plone/app/content/basecontent.rst
M plone/app/content/browser/actions.py
M plone/app/content/browser/contents/paste.py
M plone/app/content/browser/contents/rename.py
M plone/app/content/browser/tableview.py
M plone/app/content/browser/templates/content_status_history.pt
M plone/app/content/browser/vocabulary.py
M plone/app/content/container.py
M plone/app/content/namechooser.txt
M plone/app/content/testing.py
M plone/app/content/tests/test_actions.py
M plone/app/content/tests/test_adding.py
M plone/app/content/tests/test_contents.py
M plone/app/content/tests/test_folder.py
M plone/app/content/tests/test_reviewlist.py
M plone/app/content/tests/test_selectdefaultpage.py
M plone/app/content/tests/test_widgets.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Jan 1, 2019
Branch: refs/heads/master
Date: 2018-12-31T00:13:23+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.theming@2605734

test_transform: import transaction globally, instead of 30 times.

Files changed:
M src/plone/app/theming/tests/test_transform.py
Repository: plone.app.theming

Branch: refs/heads/master
Date: 2018-12-31T00:27:03+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.theming@d2ef2f0

Fixed ResourceWarnings for unclosed files in tests.

Files changed:
A news/154.bugfix
M src/plone/app/theming/tests/test_transform.py
Repository: plone.app.theming

Branch: refs/heads/master
Date: 2019-01-01T21:35:58+01:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.theming@9a979ff

Merge pull request #155 from plone/issue-154-open-files

Fixed ResourceWarnings for unclosed files in tests.

Files changed:
A news/154.bugfix
M src/plone/app/theming/tests/test_transform.py
mister-roboto pushed a commit that referenced this pull request Sep 15, 2021
Branch: refs/heads/master
Date: 2021-09-15T22:25:16+02:00
Author: Érico Andrei (ericof) <ericof@gmail.com>
Commit: plone/plone.app.portlets@fb648f6

Fix #155: Remove cyclic dependency with plone.app.event.

Files changed:
A news/155.bugfix
M setup.py
Repository: plone.app.portlets

Branch: refs/heads/master
Date: 2021-09-16T00:23:34+02:00
Author: Érico Andrei (ericof) <ericof@gmail.com>
Commit: plone/plone.app.portlets@1a3c1dd

Merge pull request #156 from plone/issue-155-remove-cyclic-dependency

Remove cyclic dependency with plone.app.event.

Files changed:
A news/155.bugfix
M setup.py
mister-roboto pushed a commit that referenced this pull request Sep 27, 2021
Branch: refs/heads/master
Date: 2021-09-21T12:05:36+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@9cabb70

Fix recursion in FTI lookup

Files changed:
A news/155.bugfix
M plone/dexterity/content.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-21T12:06:10+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@4caa6a9

fix tests

and enable FTI lookup caching in tests by providing a global TestRequest

Files changed:
M plone/dexterity/content.py
M plone/dexterity/tests/case.py
M plone/dexterity/tests/test_content.py
M plone/dexterity/tests/test_schema_cache.py
M plone/dexterity/tests/test_security.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-21T12:13:12+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@a679a8e

rethink recursion fix -&gt; catch earlier instead of caching FTI lookup

Files changed:
M news/155.bugfix
M plone/dexterity/content.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-27T10:36:23+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.dexterity@b004e2f

Merge pull request #155 from plone/fix-plone-dx-siteroot-recursion

Fix recursion in FTI lookup

Files changed:
A news/155.bugfix
M plone/dexterity/content.py
M plone/dexterity/tests/case.py
M plone/dexterity/tests/test_content.py
M plone/dexterity/tests/test_schema_cache.py
M plone/dexterity/tests/test_security.py
mister-roboto pushed a commit that referenced this pull request Sep 27, 2021
Branch: refs/heads/master
Date: 2021-09-21T12:05:36+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@9cabb70

Fix recursion in FTI lookup

Files changed:
A news/155.bugfix
M plone/dexterity/content.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-21T12:06:10+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@4caa6a9

fix tests

and enable FTI lookup caching in tests by providing a global TestRequest

Files changed:
M plone/dexterity/content.py
M plone/dexterity/tests/case.py
M plone/dexterity/tests/test_content.py
M plone/dexterity/tests/test_schema_cache.py
M plone/dexterity/tests/test_security.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-21T12:13:12+02:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.dexterity@a679a8e

rethink recursion fix -&gt; catch earlier instead of caching FTI lookup

Files changed:
M news/155.bugfix
M plone/dexterity/content.py
Repository: plone.dexterity

Branch: refs/heads/master
Date: 2021-09-27T10:36:23+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.dexterity@b004e2f

Merge pull request #155 from plone/fix-plone-dx-siteroot-recursion

Fix recursion in FTI lookup

Files changed:
A news/155.bugfix
M plone/dexterity/content.py
M plone/dexterity/tests/case.py
M plone/dexterity/tests/test_content.py
M plone/dexterity/tests/test_schema_cache.py
M plone/dexterity/tests/test_security.py
mister-roboto pushed a commit that referenced this pull request Apr 23, 2023
Branch: refs/heads/master
Date: 2023-03-23T10:00:56+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.z3cform@bb8efeb

takeover plone.app.widgets utils and base classes

Files changed:
A plone/app/z3cform/converters.zcml
A plone/app/z3cform/tests/test_utils_patterns.py
A plone/app/z3cform/tests/test_widgets_patterns.py
A plone/app/z3cform/widgets.zcml
A plone/app/z3cform/widgets/__init__.py
A plone/app/z3cform/widgets/base.py
A plone/app/z3cform/widgets/datetime.py
A plone/app/z3cform/widgets/link.py
A plone/app/z3cform/widgets/patterns.py
A plone/app/z3cform/widgets/querystring.py
A plone/app/z3cform/widgets/relateditems.py
A plone/app/z3cform/widgets/richtext.py
A plone/app/z3cform/widgets/select.py
A plone/app/z3cform/widgets/singlecheckbox.py
M plone/app/z3cform/configure.zcml
M plone/app/z3cform/tests/test_widgets.py
M plone/app/z3cform/utils.py
M plone/app/z3cform/widget.py
D plone/app/z3cform/widget.zcml
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-03-23T10:01:26+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.z3cform@2db4edf

do not depend on plone.app.widgets anymore

Files changed:
M setup.py
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-03-23T10:01:26+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.z3cform@e55bdf4

changenote

Files changed:
A news/19.feature
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-03-23T10:01:26+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.z3cform@df1dac2

fix import and mocked querystring_options in patterns tests

Files changed:
A plone/app/z3cform/tests/test_patterns.py
M plone/app/z3cform/tests/test_widgets.py
D plone/app/z3cform/tests/test_utils_patterns.py
D plone/app/z3cform/tests/test_widgets_patterns.py
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-03-23T10:09:04+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.app.z3cform@0329dbc

run `tox -e format` and fix `tox -e lint`

Files changed:
M plone/app/z3cform/converters.zcml
M plone/app/z3cform/tests/test_patterns.py
M plone/app/z3cform/tests/test_widgets.py
M plone/app/z3cform/utils.py
M plone/app/z3cform/widget.py
M plone/app/z3cform/widgets.zcml
M plone/app/z3cform/widgets/datetime.py
M plone/app/z3cform/widgets/patterns.py
M plone/app/z3cform/widgets/querystring.py
M plone/app/z3cform/widgets/relateditems.py
M plone/app/z3cform/widgets/richtext.py
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-04-21T20:45:59+02:00
Author: Fred van Dijk (fredvd) <fredvd@gmail.com>
Commit: plone/plone.app.z3cform@d822d7c

Merge branch 'master' into deprecate-plone-app-widgets

Files changed:
M .meta.toml
M .pre-commit-config.yaml
M CHANGES.rst
M plone/app/z3cform/interfaces.py
M setup.py
M tox.ini
D news/160.bugfix
D news/243ca9ec.internal
Repository: plone.app.z3cform

Branch: refs/heads/master
Date: 2023-04-23T09:22:27+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.z3cform@b45d041

Merge pull request #155 from plone/deprecate-plone-app-widgets

Deprecate `plone.app.widgets`

Files changed:
A news/19.feature
A plone/app/z3cform/converters.zcml
A plone/app/z3cform/tests/test_patterns.py
A plone/app/z3cform/widgets.zcml
A plone/app/z3cform/widgets/__init__.py
A plone/app/z3cform/widgets/base.py
A plone/app/z3cform/widgets/datetime.py
A plone/app/z3cform/widgets/link.py
A plone/app/z3cform/widgets/patterns.py
A plone/app/z3cform/widgets/querystring.py
A plone/app/z3cform/widgets/relateditems.py
A plone/app/z3cform/widgets/richtext.py
A plone/app/z3cform/widgets/select.py
A plone/app/z3cform/widgets/singlecheckbox.py
M plone/app/z3cform/configure.zcml
M plone/app/z3cform/tests/test_widgets.py
M plone/app/z3cform/utils.py
M plone/app/z3cform/widget.py
M setup.py
D plone/app/z3cform/widget.zcml
mister-roboto pushed a commit that referenced this pull request Feb 11, 2024
Branch: refs/heads/master
Date: 2024-02-10T22:24:50-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@ddf971b

Fix printing the server URL in non-reload mode

Files changed:
M src/plone/app/robotframework/server.py
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-10T22:28:11-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@88aa6cb

changelog

Files changed:
A news/155.bugfix
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-10T22:28:48-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@a006356

lint

Files changed:
M src/plone/app/robotframework/server.py
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-11T15:17:34-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@7e77733

Merge pull request #155 from plone/fix-print-server-url

Fix printing the server URL in non-reload mode

Files changed:
A news/155.bugfix
M src/plone/app/robotframework/server.py
mister-roboto pushed a commit that referenced this pull request Feb 11, 2024
Branch: refs/heads/master
Date: 2024-02-10T22:24:50-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@ddf971b

Fix printing the server URL in non-reload mode

Files changed:
M src/plone/app/robotframework/server.py
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-10T22:28:11-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@88aa6cb

changelog

Files changed:
A news/155.bugfix
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-10T22:28:48-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@a006356

lint

Files changed:
M src/plone/app/robotframework/server.py
Repository: plone.app.robotframework

Branch: refs/heads/master
Date: 2024-02-11T15:17:34-08:00
Author: David Glick (davisagli) <david@glicksoftware.com>
Commit: plone/plone.app.robotframework@7e77733

Merge pull request #155 from plone/fix-print-server-url

Fix printing the server URL in non-reload mode

Files changed:
A news/155.bugfix
M src/plone/app/robotframework/server.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants