• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / Products.GenericSetup / 13664487074
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: config-with-zope-product-template-446e9797
DEFAULT BRANCH: master
Ran 04 Mar 2025 10:50PM UTC
Jobs 1
Files 64
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Mar 2025 10:44PM UTC coverage: 93.005%. Remained the same
13664487074

Pull #134

github

mauritsvanrees
Test with latest setuptools and zc.buildout.

In `tox.ini` we were restricting `setuptools < 69` because 70+ gave problems last year.
Those problems have been fixed.  Now we hit a problem in buildout with that old setuptools version:

```
$ tox -e py312
py312: commands_pre[0]> .tox/py312/bin/buildout -nc /Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup/buildout.cfg buildout:directory=/Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup/.tox/py312 buildout:develop=/Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup install test
While:
  Installing.
  Checking for upgrades.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup/.tox/py312/lib/python3.12/site-packages/zc/buildout/buildout.py", line 2309, in main
    getattr(buildout, command)(args)
  File "/Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup/.tox/py312/lib/python3.12/site-packages/zc/buildout/buildout.py", line 717, in install
    self._maybe_upgrade()
  File "/Users/maurits/community/plone-coredev/6.2/src/Products.GenericSetup/.tox/py312/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1165, in _maybe_upgrade
    if not inspect.getfile(sys.modules[project]).startswith(dist.location):
                                                            ^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'location'
```

This is something that may be fixable in `zc.buildout`.
But the easiest fix is to use setuptools 75.8.2 (or a future version).
Pull Request #134: Replace pkg_resources usage

1179 of 1486 branches covered (79.34%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

9285 of 9765 relevant lines covered (95.08%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13664487074.1 04 Mar 2025 10:50PM UTC 64
93.01
GitHub Action Run
Source Files on build 13664487074
  • Tree
  • List 64
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #134
  • PR Base - master (#12974399144)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc