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

version_iter: IndexError: tuple index out of range #10

Open
marcin-gryszkalis opened this issue Dec 15, 2016 · 1 comment
Open

version_iter: IndexError: tuple index out of range #10

marcin-gryszkalis opened this issue Dec 15, 2016 · 1 comment

Comments

@marcin-gryszkalis
Copy link

breaks on any package, eg.:

$ pytoport /tmp/x requests

[-] Generating files for requests...
[-] Generating Makefile
PySocks has extra info: extra == 'socks'
pyOpenSSL has extra info: extra == 'security'
idna has extra info: extra == 'security'
cryptography has extra info: extra == 'security'
Traceback (most recent call last):
File "/usr/local/bin/pytoport", line 11, in
load_entry_point('pytoport==0.4.1', 'console_scripts', 'pytoport')()
File "/usr/local/lib/python3.5/site-packages/pytoport/init.py", line 319, in main
generate_makefile(data, path, **user)
File "/usr/local/lib/python3.5/site-packages/pytoport/init.py", line 202, in generate_makefile
min_py = get_minimum(data)
File "/usr/local/lib/python3.5/site-packages/pytoport/init.py", line 109, in get_minimum
supported = list(version_iter(data))
File "/usr/local/lib/python3.5/site-packages/pytoport/init.py", line 99, in version_iter
raw = parts[2].split('.')
IndexError: tuple index out of range

@0mp
Copy link
Member

0mp commented Feb 18, 2020

This is fixed now.

Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue Feb 18, 2020
This way we can remove the local patches and get a fix one of the reported
bugs: freebsd/pytoport#10

Also, lint the makefile while here.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@526472 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Feb 18, 2020
This way we can remove the local patches and get a fix one of the reported
bugs: freebsd/pytoport#10

Also, lint the makefile while here.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@526472 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Feb 18, 2020
This way we can remove the local patches and get a fix one of the reported
bugs: freebsd/pytoport#10

Also, lint the makefile while here.
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this issue Jan 10, 2024
This way we can remove the local patches and get a fix one of the reported
bugs: freebsd/pytoport#10

Also, lint the makefile while here.
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

2 participants