FS#55755 - [python-ipdb] [python-pygithub] Python packages with spurious egg-info entries

Attached to Project: Community Packages
Opened by Benoit Pierre (bpierre) - Tuesday, 26 September 2017, 14:33 GMT
Last edited by freswa (frederik) - Thursday, 01 October 2020, 17:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Both python-ipdb and python-pygithub provide 2 egg-info entries:

/usr/lib/python3.6/site-packages/PyGithub-1.35-py3.6.egg-info
/usr/lib/python3.6/site-packages/PyGithub.egg-info
/usr/lib/python3.6/site-packages/ipdb-0.10.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/ipdb.egg-info

Additional info:
* package version(s): python-ipdb 0.10.3-1, python-pygithub 1.35-1

Python script used to find the issue:

from collections import defaultdict
import sys

import pkg_resources


for path in sys.path:
package_dists = defaultdict(list)
for dist in pkg_resources.find_distributions(path, only=True):
package_dists[dist.key].append(dist)
for dist_list in package_dists.values():
if len(dist_list) > 1:
print('found multiple distributions for %s in %s: %s' % (
dist_list[0].project_name, path,
', '.join(sorted(d.version for d in dist_list)),
))

This task depends upon

Closed by  freswa (frederik)
Thursday, 01 October 2020, 17:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-ipdb 0.12.3-1 and python-pygithub 1.44.1-1
Comment by Eli Schwartz (eschwartz) - Tuesday, 26 September 2017, 16:35 GMT
  • Field changed: Attached to Project (Arch Linux → Community Packages)
  • Field changed: Summary (Python packages with spurious egg-info entries → [python-ipdb] [python-pygithub] Python packages with spurious egg-info entries)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Felix Yan (felixonmars)
Please be sure to file bugs to the right project.
Comment by Eli Schwartz (eschwartz) - Tuesday, 26 September 2017, 16:37 GMT
Experimenting with ipdb it seems ipdb.egg-info is somehow created in build/lib/ by the testsuite. -_-
Comment by loqs (loqs) - Thursday, 01 October 2020, 14:46 GMT

Loading...