launchpadlib not using tox for testing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
I was trying to test py3 support in launchpadlib locally but I faced a series of unexpected problems for a python based project:
* there was no tox.ini so no luck to perform a targeted tox -e py36 test
* i was not able to find where is the CI of the project, where are the build testing the library?
* i discovered the bootstrap.py file but there is no info on how to use it, clearly running it even with python2 fails ugly:
$ python2 bootstrap.py [16:15:48]
Downloading http://
Traceback (most recent call last):
File "bootstrap.py", line 172, in <module>
ez['use_
File "<string>", line 103, in use_setuptools
File "<string>", line 97, in do_download
File "<string>", line 158, in download_setuptools
File "/Users/
return opener.open(url, data, timeout)
File "/Users/
response = meth(req, response)
File "/Users/
'http', request, response, code, msg, hdrs)
File "/Users/
return self._call_
File "/Users/
result = func(*args)
File "/Users/
raise HTTPError(
urllib2.HTTPError: HTTP Error 403: SSL is required
$ python2 bootstrap.py -d [16:17:00]
Traceback (most recent call last):
File "bootstrap.py", line 166, in <module>
exec ez_code in ez
File "<string>", line 1
<html>
^
SyntaxError: invalid syntax
FAIL: 1
Fixed in launchpadlib 1.10.8:
1.10.8 (2019-11-26) testing. launchpad.
===================
- Squash a deprecation warning on Python >= 3.7 in
launchpadlib.
- Switch from buildout to tox.
- Weaken hosted-files test slightly to avoid problems with zope.publisher >=
4.2.2.