Skip to content

(actually :) Pin version of prettytable to allow poetry install - #144

Merged
catherinedevlin merged 1 commit into
catherinedevlin:masterfrom
casio:fix/pin-prettytable-dep
Oct 25, 2019
Merged

catherinedevlin merged 1 commit into
catherinedevlin:masterfrom
casio:fix/pin-prettytable-dep

Conversation

@casio

@casio casio commented Jun 29, 2019 •

Copy link
Copy Markdown
Contributor

In a previous commit(#136), @milesrichardson is pinning the prettytable dep version in requirements.txt.

PyPI indeed wrongly lists a non-existent version 7 for prettytable.

However, even after accounting for that in requirements.txt, it still leads to ipython-sql not being installable with eg poetry.

$ poetry add ipython-sql

[EnvCommandError]                                                                                                                 
Command ['python', '-m', 'pip', 'install', '--no-deps', '-U', 'prettytable==7'] errored with the following output:                                           
Collecting prettytable==7                                                                                                                      
  ERROR: Could not find a version that satisfies the requirement prettytable==7 (from versions: 0.3, 0.4, 0.5, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2)  
ERROR: No matching distribution found for prettytable==7            

This PR fixes that by constraining prettytable to below version 1 in setup.py

@catherinedevlin
catherinedevlin merged commit 07166c7 into catherinedevlin:master Oct 25, 2019
@catherinedevlin

Copy link
Copy Markdown
Owner

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants