Coder Social home page Coder Social logo

Comments (9)

mgedmin avatar mgedmin commented on May 31, 2024

It's seriously incompatible with 4.0.0. To do a proper release I wanted to:

  • make sure there are clear docs with examples on migrating from zope.testbrowser 4.x to 5.x
  • test all ZF packages that use testbrowser and either migrate or make them depend on <5.0.0dev

I haven't found the time to do either of these things and therefore haven't released 5.0.0.

I've no objections if anyone else wants to either do them or just release and let the chips fall where they will. (My perfectionism often prevents me from getting stuff done.)

from zope.testbrowser.

tseaver avatar tseaver commented on May 31, 2024

@mgedmin do you have a list of the dependent projects? I know Zope2 uses it, and presume that grok and bluebream do, but none of the core ZTK projects do.

I think your README changes look good enough for a release.

from zope.testbrowser.

mgedmin avatar mgedmin commented on May 31, 2024

I didn't have a list ready. I intended to do a recursive grep over all zopefoundation projects and a short github search.

Here's a recursive grep (grepall my a wrapper around find + grep that filters out .eggs and .tox and other junk):

mg@platonas ~/src/zopefoundation $ grepall -name '*.py' -o -name '*.txt' -- 'zope.testbrowser.testing.*Browser' | sort
./groktoolkit/doc/groktut/an_empty_grok_project/src/sample/app.txt:23:   >>> from zope.testbrowser.testing import Browser
./groktoolkit/doc/groktut/publishing_a_simple_web_page/src/sample/app.txt:23:   >>> from zope.testbrowser.testing import Browser
./z3c.baseregistry/src/z3c/baseregistry/browser/README.txt:39:  >>> from zope.testbrowser.testing import Browser
./z3c.configurator/src/z3c/configurator/browser/README.txt:9:  >>> from zope.testbrowser.testing import Browser
./z3c.etestbrowser/src/z3c/etestbrowser/testing.py:23:class ExtendedTestBrowser(zope.testbrowser.testing.Browser,
./z3c.jsonrpc/src/z3c/jsonrpc/README.txt:241:  >>> from zope.testbrowser.testing import Browser
./z3c.language/src/z3c/language/negotiator/browser.txt:7:  >>> from zope.testbrowser.testing import Browser
./z3c.testing/src/z3c/testing/BROWSER.txt:5:  >>> from zope.testbrowser.testing import Browser
./zc.catalog/src/zc/catalog/browser/README.txt:10:    >>> from zope.testbrowser.testing import Browser
./zc.resourcelibrary/src/zc/resourcelibrary/README.txt:86:    >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/browser/nodevmode.txt:12:  >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/browser/README.txt:7:  >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/codemodule/browser/introspector.txt:9:    >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/static.py:148:class PublisherBrowser(zope.testbrowser.testing.PublisherMechanizeBrowser,
./zope.app.applicationcontrol/src/zope/app/applicationcontrol/browser/tests/zodb.txt:7:  >>> from zope.testbrowser.testing import Browser
./zope.app.authentication/src/zope/app/authentication/browser/issue663.txt:17:    >>> from zope.testbrowser.testing import Browser
./zope.app.component/src/zope/app/component/browser/site.txt:6:    >>> from zope.testbrowser.testing import Browser
./zope.globalrequest/src/zope/globalrequest/README.txt:66:  >>> from zope.testbrowser.testing import Browser
./zope.html/src/zope/html/browser.txt:11:  >>> from zope.testbrowser.testing import Browser
./zope.testbrowser/src/zope/testbrowser/testing.py:21:    """zope.testbrowser.testing.Browser is no longer supported.
./zope.testbrowser/src/zope/testbrowser/tests/test_bbb.py:19:        from zope.testbrowser.testing import Browser

I also did a grep for zope.testbrowser.Browser (IIRC that's an alias for zope.testbrowser.testing.Browser) and from zope.testbrowser import Browser, but those produced no results.

There's also z3c.etestbrowser.ExtendedTestBrowser that is a wrapper around zope.testbrowser.testing.Browser and is used by two projects:

mg@platonas ~/src/zopefoundation $ grepall -name '*.py' -o -name '*.txt' -- 'z3c.etestbrowser.*ExtendedTestBrowser' | sort | grep -v ^./z3c.etestbrowser
./z3c.contents/src/z3c/contents/BROWSER.txt:15:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/addressbook/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/calculator/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/message/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/questionnaire/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/spreadsheet/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/sqlmessage/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/widgets/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/wizard/README.txt:13:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser

My own zodbbrowser uses zope.testbrowser.testing.Browser, and I intended to use it as a litmus test for testing the migration documentation.

from zope.testbrowser.

mgedmin avatar mgedmin commented on May 31, 2024

https://github.com/search?utf8=%E2%9C%93&q=%22zope.testbrowser.testing%22+Browser&type=Code&ref=searchresults finds over 2000 matches.

from zope.testbrowser.

mgedmin avatar mgedmin commented on May 31, 2024

I've no idea why this issue doesn't mention #9. Perhaps I'd forgotten it existed.

from zope.testbrowser.

Lawouach avatar Lawouach commented on May 31, 2024

Hello @mgedmin, what's the status of this project nowadays?

I'm asking because I'm interesting in using it with splinter for headless testing in place of phantomjs. But, the latest release here is quite old.

Thanks.

from zope.testbrowser.

mgedmin avatar mgedmin commented on May 31, 2024

zopefoundation packages are maintained collectively by a group of voluneers, with all that implies.

I would say the status for zope.testbrowser is "in maintenance; active development currently stalled". I've projects that use it (on Python 2.x) so I'll fix any potential breakage there. I'm not currently interested in pushing the Python 3 branch to completion (which shouldn't be too hard, but I just can't muster the energy).

from zope.testbrowser.

Lawouach avatar Lawouach commented on May 31, 2024

Thanks for the feedback. That seems totally fair :)

from zope.testbrowser.

hannosch avatar hannosch commented on May 31, 2024

A 5.0.0 release with Python 3 support is available now.

from zope.testbrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.