Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604578

Summary: dev-python/moto-0.4.22 and 0.4.25: incorrect httpretty dep
Product: Gentoo Linux Reporter: Brian Dolbec <dolsen>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: IN_PROGRESS ---    
Severity: normal CC: python
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: updated moto-0.4.30.ebuild

Description Brian Dolbec gentoo-dev 2017-01-04 00:17:43 UTC
Both in tree versions should have the httpretty dep pinned at 0.8.10 due to python3 compatibility issues.  

Currently they are >=dev-python/httpretty-0.6.1[${PYTHON_USEDEP}]

see https://github.com/spulec/moto/issues/667

I experienced buildbot tests trying to pip install the correct version of httpretty and getting the access violation error.

also current release is 0.4.30 (also pinned at httpretty-0.8.10)
Comment 1 Brian Dolbec gentoo-dev 2017-01-04 04:31:17 UTC
Created attachment 458630 [details]
updated moto-0.4.30.ebuild

This ebuild drops dev-python/dicttoxml which is not in the 0.4.30 setup.py requirements.
Comment 2 Brian Dolbec gentoo-dev 2017-01-06 00:56:41 UTC
Done.  After more testing with all buildbot tests passing with httpretty-0.8.10.

Upgrading to 0.8.14 does not cause any failures.

Due to context changes immediately beside the httpretty dep, I used a sed to unpin the httpretty dep in setup.py.

The 0.4.22 version was pushed straight to stable as httpretty stable version is unchanged and still meets the unpinned dep.

0.4.30 version added as EAPI=6.

P.S. all changes discussed with zmedico, floppym