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

VersionConflict (on versions containing letters, maybe?) #56

Open
starenka opened this issue Nov 6, 2013 · 2 comments
Open

VersionConflict (on versions containing letters, maybe?) #56

starenka opened this issue Nov 6, 2013 · 2 comments
Milestone

Comments

@starenka
Copy link

starenka commented Nov 6, 2013

    �[KRetrieving: [##########] 100% (107 requested, 9 retrieved, 104 built, 3 failed)2013-11-06 15:06:39,400:curdling.install:ERROR:best_version('django'): /var/lib/jenkins/workspace/scorp_default_curdlingtest/.env/local/lib/python2.7/site-packages/curdling/install.py:200 (load_installer) _, chosen_requirement = self.mapping.best_version(package_name)
    Traceback (most recent call last):
      File "/var/lib/jenkins/workspace/scorp_default_curdlingtest/.env/local/lib/python2.7/site-packages/curdling/install.py", line 200, in load_installer
        _, chosen_requirement = self.mapping.best_version(package_name)
      File "/var/lib/jenkins/workspace/scorp_default_curdlingtest/.env/local/lib/python2.7/site-packages/curdling/mapping.py", line 143, in best_version
        ', '.join(sorted(self.available_versions(package_name), reverse=True)),
    VersionConflict: Requirement: django (>= 1.4), Available versions: 1.6c1
@thedrow
Copy link

thedrow commented Nov 6, 2013

curdling should behave like pip in this case. It should ignore pre releases unless --pre is specified.

@clarete
Copy link
Owner

clarete commented Nov 6, 2013

Good catch! This bug is definitely somewhere in the Mapping.best_version() function. This ticket is a good candidate for a patch if any of you guys want to take a stab on it. I can help you getting started with the development and even write the tests beforehand.

@thedrow, the --pre option is definitely the way to go! It also reminds me that we should also take care of the issue #46 as soon as we fix this one.

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

3 participants