Report which versions of python support all packages used by Plone and Plone itself
Python JavaScript CSS Shell HTML Makefile
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 52 commits ahead, 2 commits behind mgedmin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
html
.gitignore
LICENCE
Makefile
README.rst
count_blockers.py
depgraph.py
get_deps.py
get_pypi_status.py
list_packages.py
package_delta.py
plone_packages.json
plone_packages.py
tests.py
update.sh
zope_packages.json

README.rst

Plone on Python 3 porting status

Usage:

./update.sh

Or you can see the status online at http://jenkins.plone.org/py3/

This takes a while (8 minutes just to get PyPI status; more to download source distributions).

Example output:

[{"name": "zope.interface",
  "version": "4.0.3",
  "supports": ["2.6", "2.7", "3.2", "3.3", "pypy"]},
  "supports_py3": true,
  "requires": ["setuptools"],
  "blockers": [],
  "blocks": [],
  "sdist_url": "http://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.0.3.tar.gz",
  "source_web_url": "https://github.com/zopefoundation/zope.interface",
  "github_web_url": "https://github.com/zopefoundation/zope.interface",
  "svn_web_url": "http://zope3.pov.lt/trac/browser/zope.interface",
  "removed_from_svn": false},
 ...]

Caching

get_pypi_status.py script caches metadata received from PyPI in ./cache/meta/\*.json for 24 hours by default. You can override these settings with:

./get_pypi_status.py --cache-dir=~/.cache/pypi-meta --cache-max-age=3600

The sdist cache used by get_deps.py is:

  1. configurable, and
  2. compatible with buildout

If you use a shared buildout cache, you can speed up the initial dependency extraction with:

./get_deps.py --cache-dir=~/.buildout/cache/dist < status.json > deps.json

Note

You'll have to edit update.sh