Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for python 3.5 #269

Closed
anupamme opened this issue Dec 1, 2015 · 5 comments
Closed

support for python 3.5 #269

anupamme opened this issue Dec 1, 2015 · 5 comments

Comments

@anupamme
Copy link

anupamme commented Dec 1, 2015

Hello,

I am not able to install httpretty on ubuntu for python 3.5.

output of uname -a:
Linux instance-8 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I downloaded the repo and tried running tests
python3.5 setup.py test
output:
Traceback (most recent call last):
File "setup.py", line 60, in parse_requirements
requirements = [req.strip() for req in local_file(path).splitlines()]
File "setup.py", line 81, in
os.path.join(os.path.dirname(file), *f), encoding='utf-8').read()
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 97, in
tests_require=parse_requirements('test-requirements.txt'),
File "setup.py", line 62, in parse_requirements
raise RuntimeError("Couldn't find the requirements/use.txt' file :(") RuntimeError: Couldn't find therequirements/use.txt' file :(

Although this file is present and permissions are also adequate.

Let me know if you guys know how to fix this.

@afgane
Copy link

afgane commented Dec 14, 2015

+1

@vitawasalreadytaken
Copy link

This is not specific to Python 3.5. I can't install httpretty==0.8.11 on Python 3.4 either. It seems .11 is still broken despite some recent commits that apparently aim to fix it.

pip install httpretty==0.8.10 works without any issues.

@anupamme
Copy link
Author

thats correct: 0.8.10 works without any issues.

so, closing this issue

@afgane
Copy link

afgane commented Dec 14, 2015

Sorry but I don't understand the logic here behind closing the issue: at least three people have confirmed v0.8.11 does not install. The fact 0.8.10 works is not a resolution - it's a workaround. One of the libraries I'm using has a dependency that's stated as httpretty>=0.6.0 and Travis (and users) hence install the latest available version, which does not work. The fact 0.8.10 works is hardly any help here.

@anupamme
Copy link
Author

ok my bad. re-opening it.

@anupamme anupamme reopened this Dec 14, 2015
jirikuncar added a commit to jirikuncar/invenio-oauthclient that referenced this issue Dec 14, 2015
* Pins HTTPretty version to 0.8.10 due to broken compatibility with
  Python 3.  (addresses gabrielfalcao/HTTPretty#269)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
jirikuncar added a commit to jirikuncar/invenio-oauthclient that referenced this issue Dec 14, 2015
* Pins HTTPretty version to 0.8.10 due to broken compatibility with
  Python 3.  (addresses gabrielfalcao/HTTPretty#269)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
achiku added a commit to achiku/jungle that referenced this issue Dec 15, 2015
oguzdemirbasci pushed a commit to oguzdemirbasci/invenio-oauthclient that referenced this issue Jan 8, 2021
* Pins HTTPretty version to 0.8.10 due to broken compatibility with
  Python 3.  (addresses gabrielfalcao/HTTPretty#269)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants