[MacPorts] #37234: py-requests @0.13.6 - update to 0.14.2
#37234: py-requests @0.13.6 - update to 0.14.2 ---------------------------------+-------------------------------- Reporter: larry.velazquez@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: haspatch maintainer | Port: py-requests ---------------------------------+-------------------------------- Self-explanatory. -- Ticket URL: <https://trac.macports.org/ticket/37234> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-requests @0.13.6 - update to 0.14.2 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Comment (by ryandesign@…): The py3* subports don't build: {{{ Traceback (most recent call last): File "setup.py", line 6, in <module> import requests File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py31-requests/work/requests-0.14.2/requests/__init__.py", line 52, in <module> from . import utils File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py31-requests/work/requests-0.14.2/requests/utils.py", line 22, in <module> from .compat import parse_http_list as _parse_list_header File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py31-requests/work/requests-0.14.2/requests/compat.py", line 112, in <module> from .packages import chardet2 as chardet ImportError: cannot import name chardet2 }}} {{{ Traceback (most recent call last): File "setup.py", line 6, in <module> import requests File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py32-requests/work/requests-0.14.2/requests/__init__.py", line 52, in <module> from . import utils File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py32-requests/work/requests-0.14.2/requests/utils.py", line 22, in <module> from .compat import parse_http_list as _parse_list_header File "/opt/local/var/macports/build /_Users_rschmidt_macports_dports_python_py- requests/py32-requests/work/requests-0.14.2/requests/compat.py", line 112, in <module> from .packages import chardet2 as chardet ImportError: cannot import name chardet2 }}} -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-requests @0.13.6 - update to 0.14.2 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Comment (by larry.velazquez@…): Hm. The [http://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz tarball hosted at PyPI] is missing the `chardet2` package, while the [https://github.com/kennethreitz/requests/archive/v0.14.2.tar.gz one at GitHub] has it. {{{ % ls requests-0.14.2-pypi/requests/packages __init__.py chardet/ oauthlib/ urllib3/ % ls requests-0.14.2-github/requests/packages __init__.py chardet/ chardet2/ oauthlib/ urllib3/ }}} Not sure what the best course of action here is. Should we just grab the tarball from GitHub? -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-requests @0.13.6 - update to 0.14.2 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: There seems to be a bit of difference between the two requests-0.14.2s: {{{ $ diff -ru {github,pypi}/requests-0.14.2 Only in github/requests-0.14.2: .env Only in github/requests-0.14.2: .gitignore Only in github/requests-0.14.2: .travis.yml Only in github/requests-0.14.2: AUTHORS.rst Only in github/requests-0.14.2: Makefile Only in pypi/requests-0.14.2: PKG-INFO Only in github/requests-0.14.2: docs Only in github/requests-0.14.2: ext Only in pypi/requests-0.14.2/requests: adapters.py Only in github/requests-0.14.2/requests/packages: chardet2 Only in github/requests-0.14.2/requests/packages/urllib3: contrib Only in pypi/requests-0.14.2: requests.egg-info Only in github/requests-0.14.2: requirements.txt Only in pypi/requests-0.14.2: setup.cfg Only in github/requests-0.14.2: tests }}} If the one from github works, I guess we should use that. My concern would be if any of the files in the pypi version that aren't in the github version are needed. I note from the github history that chardet has already been removed from the project in favor of charade so I guess this problem will fix itself with the next release. -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-requests @0.13.6 - update to 0.14.2 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Comment (by larry.velazquez@…): Replying to [comment:3 ryandesign@…]:
I note from the github history that chardet has already been removed from the project in favor of charade so I guess this problem will fix itself with the next release.
We could wait on 0.14.3. In the meantime, 0.14.1 seems to work fine, so let's at least update to that. I also added a subport for Python 3.3. -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-request: update to 0.14.1 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned * cc: ryandesign@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37234: py-request: update to 0.14.1 --------------------------------+--------------------------------- Reporter: larry.velazquez@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch maintainer Port: py-requests | --------------------------------+--------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r100428 -- Ticket URL: <https://trac.macports.org/ticket/37234#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts