devpi / devpi-constrained

releases filter for devpi-server
MIT License
8 stars 2 forks source link

Simple links getting filtered out #2

Closed ckong316 closed 1 year ago

ckong316 commented 4 years ago

I think there might be an issue with the logic in get_simple_links_filter_iter

For complicated links such as

zipp-1.1.0-py2.py3-none-any.whl green-0.4.0-py2.5-win32.egg

it looks like the version isn't being parsed correctly on line 91 (version = '-'.join(parts[index:])).

Once the project name is found, shouldn't the version just be the next part in the list? instead of joining the remaining items in the list