WARNING: tablib 0.14.0 does not provide the extra 'xlsx'
See original GitHub issueIssue Summary
I’m using the license scanning feature from GitLab, which does all sorts of things behind the scenes, but it errors out on this tablib issue. I’ve replicated it outside of this with a requirements.in
file with just wagtail
in it:
$ cat requirements.in
wagtail
$ pip-compile --no-emit-index-url --output-file requirements.txt requirements.in
$ cat requirements.txt
...
tablib[xls,xlsx]==0.14.0
# via wagtail
urllib3==1.25.6
# via requests
wagtail==2.12.6
# via -r requirements.in
And if I try to install that manually:
❯ pip install tablib[xls,xlsx]==0.14.0
Requirement already satisfied: tablib[xls,xlsx]==0.14.0 in ./.virtualenv/lib/python3.7/site-packages (0.14.0)
WARNING: tablib 0.14.0 does not provide the extra 'xls'
WARNING: tablib 0.14.0 does not provide the extra 'xlsx'
Requirement already satisfied: odfpy in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (1.4.1)
Requirement already satisfied: xlwt in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (1.3.0)
Requirement already satisfied: pyyaml in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (5.3)
Requirement already satisfied: xlrd in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (1.2.0)
Requirement already satisfied: openpyxl>=2.4.0 in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (3.0.3)
Requirement already satisfied: markuppy in ./.virtualenv/lib/python3.7/site-packages (from tablib[xls,xlsx]==0.14.0) (1.14)
Requirement already satisfied: jdcal in ./.virtualenv/lib/python3.7/site-packages (from openpyxl>=2.4.0->tablib[xls,xlsx]==0.14.0) (1.4.1)
Requirement already satisfied: et-xmlfile in ./.virtualenv/lib/python3.7/site-packages (from openpyxl>=2.4.0->tablib[xls,xlsx]==0.14.0) (1.0.1)
Requirement already satisfied: defusedxml in ./.virtualenv/lib/python3.7/site-packages (from odfpy->tablib[xls,xlsx]==0.14.0) (0.6.0)
How do we get wagtail to not include those brackets? Cause it works just fine if I go that route.
Technical details
$ python --version
Python 3.7.4
$ pip show django | grep Version
Version: 2.2.18
$ pip show wagtail | grep Version
Version: 2.12.6
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
tablib==0.14.0 creates error in Django project · Issue #434
I have a Django project that use django-import-export which in turn uses tablib. After some upgrades (pip-compile -U follow by pip-sync), ...
Read more >tablib
Tablib is now able to import CSV content where not all rows have the same length. Missing columns on any line receive the...
Read more >Django import export has error "Tablib has no format 'None' ...
I am trying to implement csv import in my application and I have this error, Tablib has no format 'None' or it is...
Read more >Index of /pub/archive/epel/6/x86_64/Packages/p - Fedora
Index of /pub/archive/epel/6/x86_64/Packages/p. Icon Name Last modified Size Description. [PARENTDIR] Parent Directory - [ ] Perlbal-1.80-12.el6.noarch.rpm ...
Read more >Compare Packages Between Distributions
Complete summaries of the NetBSD and BlackArch Linux projects are available. Note: In case where multiple versions of a package are shipped with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can close this, figured it out. From the pip-tools README:
Once I deleted the
requirements.txt
, and re-ran it, it had the latest version of tablib:Oh interesting! Thought wagtail was enforcing that version for some reason. Looks like I’ve more digging to do.
I’ll get back to you once I’ve more information. Thanks!