Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604578 - dev-python/moto-0.4.22 and 0.4.25: incorrect httpretty dep
Summary: dev-python/moto-0.4.22 and 0.4.25: incorrect httpretty dep
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-01-04 00:17 UTC by Brian Dolbec
Modified: 2017-01-06 00:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated moto-0.4.30.ebuild (moto-0.4.30.ebuild,743 bytes, text/plain)
2017-01-04 04:31 UTC, Brian Dolbec
Details

Note You need to log in before you can comment on or make changes to this bug.
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