poetry-plugin-export icon indicating copy to clipboard operation
poetry-plugin-export copied to clipboard

`poetry export` includes additional dependencies not present in virtualenv

Open randolf-scholz opened this issue 3 years ago • 1 comments

For some reason poetry export seems to add some additional dependencies like ansicon, colorama and jinxed that are not present in my environment (neither listed by pip list nor poetry show and cannot be imported.) What is going on?

Output of poetry export --without-hashes --output requirements.txt
absl-py==1.0.0; python_version >= "3.6"
aiohttp-cors==0.7.0
aiohttp==3.8.1
aiosignal==1.2.0
ansicon==1.89.0
async-timeout==4.0.2
attrs==21.4.0
blessed==1.19.1
cachetools==5.1.0; python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6")
certifi==2021.10.8; python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.6.0"
charset-normalizer==2.0.12
click==8.1.3; python_version >= "3.8"
colorama==0.4.4
colorful==0.5.4
cycler==0.11.0; python_version >= "3.7"
distlib==0.3.4; python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.5.0"
filelock==3.7.0; python_version >= "3.8" and (python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.5.0")
fonttools==4.33.3; python_version >= "3.7"
frozenlist==1.3.0
fsspec==2022.3.0; python_version >= "3.8"
google-api-core==2.7.3
google-auth-oauthlib==0.4.6; python_version >= "3.6"
google-auth==2.6.6
googleapis-common-protos==1.56.1
gpustat==1.0.0b1
grpcio==1.43.0; python_version >= "3.8"
h5py==3.6.0; python_version >= "3.7"
idna==3.3
importlib-metadata==4.11.3; python_version < "3.10" and python_version >= "3.7"
jinxed==1.2.0
joblib==1.1.0; python_version >= "3.8"
jsonschema==4.5.1; python_version >= "3.8"
kiwisolver==1.4.2; python_version >= "3.7"
markdown==3.3.7; python_version >= "3.6"
matplotlib==3.5.2; python_version >= "3.7"
modin==0.14.1; python_version >= "3.8"
msgpack==1.0.3; python_version >= "3.8"
multidict==6.0.2
numexpr==2.8.1; python_version >= "3.6"
numpy==1.22.3; python_version >= "3.8"
nvidia-ml-py3==7.352.0
oauthlib==3.2.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
opencensus-context==0.1.2
opencensus==0.9.0
packaging==20.9; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.8"
pandas==1.4.2; python_version >= "3.8"
pillow==9.1.0; python_version >= "3.7"
platformdirs==2.5.2; python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.5.0"
prometheus-client==0.13.1
protobuf==3.20.1
psutil==5.9.0
py-spy==0.3.12
pyarrow==8.0.0; python_version >= "3.7"
pyasn1-modules==0.2.8; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
pyasn1==0.4.8; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") or python_full_version >= "3.6.0" and python_version >= "3.6" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6")
pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.8"
pyrsistent==0.18.1; python_version >= "3.8"
python-dateutil==2.8.2
pytz==2022.1
pyyaml==6.0; python_version >= "3.6"
ray==1.12.1
redis==3.5.3; python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.5.0"
requests-oauthlib==1.3.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
requests==2.27.1
rsa==4.8; python_version >= "3.6" and python_version < "4" and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6")
scikit-learn==1.1.0; python_version >= "3.8"
scipy==1.8.0; python_version >= "3.8" and python_version < "3.11"
setuptools-scm==6.4.2; python_version >= "3.7"
six==1.16.0
smart-open==6.0.0
tables==3.7.0; python_version >= "3.6"
tabulate==0.8.9
tensorboard-data-server==0.6.1; python_version >= "3.6"
tensorboard-plugin-wit==1.8.1; python_version >= "3.6"
tensorboard==2.9.0; python_version >= "3.6"
tensorboardx==2.5
threadpoolctl==3.1.0; python_version >= "3.8"
tomli==2.0.1; python_version >= "3.7"
torch==1.11.0; python_full_version >= "3.7.0"
tqdm==4.64.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
typing-extensions==4.2.0; python_version >= "3.7" and python_full_version >= "3.7.0"
urllib3==1.26.9; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.8"
virtualenv==20.14.1; python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.5.0"
wcwidth==0.2.5
werkzeug==2.1.2; python_version >= "3.7"
xarray==2022.3.0; python_version >= "3.8"
yarl==1.7.2
zipp==3.8.0; python_version < "3.10" and python_version >= "3.7"
poetry show
absl-py                       1.0.0       Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
aiohttp                       3.8.1       Async http client/server framework (asyncio)
aiohttp-cors                  0.7.0       CORS support for aiohttp
aiosignal                     1.2.0       aiosignal: a list of registered asynchronous callbacks
alabaster                     0.7.12      A configurable sidebar-enabled Sphinx theme
anybadge                      1.9.0       Simple, flexible badge generator for project badges.
astroid                       2.11.5      An abstract syntax tree for Python with inference support.
asttokens                     2.0.5       Annotate AST trees with source code positions
async-timeout                 4.0.2       Timeout context manager for asyncio programs
attrs                         21.4.0      Classes Without Boilerplate
babel                         2.10.1      Internationalization utilities
backcall                      0.2.0       Specifications for callback functions passed in to an API
beautifulsoup4                4.11.1      Screen-scraping library
black                         22.3.0      The uncompromising code formatter.
blacken-docs                  1.12.1      Run `black` on python code blocks in documentation files
bleach                        5.0.0       An easy safelist-based HTML-sanitizing tool.
blessed                       1.19.1      Easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen Positioning capabilities.
cachecontrol                  0.12.11     httplib2 caching for requests
cachetools                    5.1.0       Extensible memoizing collections and decorators
cachy                         0.3.0       Cachy provides a simple yet effective caching library.
certifi                       2021.10.8   Python package for providing Mozilla's CA Bundle.
cffi                          1.15.0      Foreign Function Interface for Python calling C code.
cfgv                          3.3.1       Validate configuration and produce human readable error messages.
charset-normalizer            2.0.12      The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
cleo                          0.8.1       Cleo allows you to create beautiful and testable command-line interfaces.
click                         8.1.3       Composable command line interface toolkit
clikit                        0.6.2       CliKit is a group of utilities to build beautiful and testable command line interfaces.
colorful                      0.5.4       Terminal string styling done right, in Python.
commonmark                    0.9.1       Python parser for the CommonMark Markdown spec
coverage                      6.3.3       Code coverage measurement for Python
crashtest                     0.3.1       Manage Python errors with ease
cryptography                  37.0.2      cryptography is a package which provides cryptographic recipes and primitives to Python developers.
cycler                        0.11.0      Composable style cycles
decorator                     5.1.1       Decorators for Humans
defusedxml                    0.7.1       XML bomb protection for Python stdlib modules
dill                          0.3.4       serialize all of python
distlib                       0.3.4       Distribution utilities
docutils                      0.17.1      Docutils -- Python Documentation Utilities
entrypoints                   0.4         Discover and load entry points from installed packages.
executing                     0.8.3       Get the currently executing AST node of a frame, and other information
fastjsonschema                2.15.3      Fastest Python implementation of JSON schema
filelock                      3.7.0       A platform independent file lock.
flake8                        4.0.1       the modular source code checker: pep8 pyflakes and co
flake8-annotations            2.9.0       Flake8 Type Annotation Checks
flake8-black                  0.3.3       flake8 plugin to call black as a code style validator
flake8-bugbear                22.4.25     A plugin for flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
flake8-comprehensions         3.9.0       A flake8 plugin to help you write better list/set/dict comprehensions.
flake8-docstrings             1.6.0       Extension for flake8 which uses pydocstyle to check docstrings
flake8-mutable                1.2.0       mutable defaults flake8 extension
flake8-nb                     0.4.0       Flake8 based checking for jupyter notebooks
flake8-pyi                    22.5.0      A plugin for flake8 to enable linting .pyi files.
flake8-rst                    0.8.0       flake8 for code in rst files and docstrings
flake8-rst-docstrings         0.2.5       Python docstring reStructuredText (RST) validator
fonttools                     4.33.3      Tools to manipulate font files
frozenlist                    1.3.0       A list-like structure which implements collections.abc.MutableSequence
fsspec                        2022.3.0    File-system specification
google-api-core               2.7.3       Google API client core library
google-auth                   2.6.6       Google Authentication Library
google-auth-oauthlib          0.4.6       Google Authentication Library
googleapis-common-protos      1.56.1      Common protobufs used in Google APIs
gpustat                       1.0.0b1     An utility to monitor NVIDIA GPU status and usage
grpcio                        1.43.0      HTTP/2-based RPC framework
h5py                          3.6.0       Read and write HDF5 files from Python
html5lib                      1.1         HTML parser based on the WHATWG HTML specification
identify                      2.5.0       File identification library for Python
idna                          3.3         Internationalized Domain Names in Applications (IDNA)
imagesize                     1.3.0       Getting image size from png/jpeg/jpeg2000/gif file
importlib-metadata            4.11.3      Read metadata from Python packages
iniconfig                     1.1.1       iniconfig: brain-dead simple config-ini parsing
ipython                       8.3.0       IPython: Productive Interactive Computing
isort                         5.10.1      A Python utility / library to sort Python imports.
jedi                          0.18.1      An autocompletion tool for Python that can be used for text editors.
jeepney                       0.8.0       Low-level, pure Python DBus protocol wrapper.
jinja2                        3.1.2       A very fast and expressive template engine.
joblib                        1.1.0       Lightweight pipelining with Python functions
jsonschema                    4.5.1       An implementation of JSON Schema validation for Python
jupyter-client                7.3.1       Jupyter protocol implementation and client libraries
jupyter-core                  4.10.0      Jupyter core package. A base package on which Jupyter projects rely.
jupyterlab-pygments           0.2.2       Pygments theme using JupyterLab CSS variables
keyring                       23.5.0      Store and access your passwords safely.
kiwisolver                    1.4.2       A fast implementation of the Cassowary constraint solver
lazy-object-proxy             1.7.1       A fast and thorough lazy object proxy.
lockfile                      0.12.2      Platform-independent file locking module
markdown                      3.3.7       Python implementation of Markdown.
markupsafe                    2.1.1       Safely add untrusted strings to HTML/XML markup.
matplotlib                    3.5.2       Python plotting package
matplotlib-inline             0.1.3       Inline Matplotlib backend for Jupyter
mccabe                        0.6.1       McCabe checker, plugin for flake8
mistune                       0.8.4       The fastest markdown parser in pure Python
modin                         0.14.1      Modin: Make your pandas code run faster by changing one line of code.
msgpack                       1.0.3       MessagePack (de)serializer.
multidict                     6.0.2       multidict implementation
mypy                          0.950       Optional static typing for Python
mypy-extensions               0.4.3       Experimental type system extensions for programs checked with the mypy typechecker.
nbclient                      0.6.3       A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor.
nbconvert                     6.5.0       Converting Jupyter Notebooks
nbformat                      5.4.0       The Jupyter Notebook format
nest-asyncio                  1.5.5       Patch asyncio to allow nested event loops
nodeenv                       1.6.0       Node.js virtual environment builder
numexpr                       2.8.1       Fast numerical expression evaluator for NumPy
numpy                         1.22.3      NumPy is the fundamental package for array computing with Python.
nvidia-ml-py3                 7.352.0     Python Bindings for the NVIDIA Management Library
oauthlib                      3.2.0       A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
opencensus                    0.9.0       A stats collection and distributed tracing framework
opencensus-context            0.1.2       OpenCensus Runtime Context
packaging                     20.9        Core utilities for Python packages
pandas                        1.4.2       Powerful data structures for data analysis, time series, and statistics
pandocfilters                 1.5.0       Utilities for writing pandoc filters in python
parso                         0.8.3       A Python Parser
pastel                        0.2.1       Bring colors to your terminal.
pathspec                      0.9.0       Utility library for gitignore style pattern matching of file paths.
pexpect                       4.8.0       Pexpect allows easy control of interactive console applications.
pickleshare                   0.7.5       Tiny 'shelve'-like database with concurrency support
pillow                        9.1.0       Python Imaging Library (Fork)
pkginfo                       1.8.2       Query metadatdata from sdists / bdists / installed packages.
platformdirs                  2.5.2       A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
pluggy                        1.0.0       plugin and hook calling mechanisms for python
poetry                        1.1.13      Python dependency management and packaging made easy.
poetry-core                   1.0.8       Poetry PEP 517 Build Backend
pre-commit                    2.19.0      A framework for managing and maintaining multi-language pre-commit hooks.
prometheus-client             0.13.1      Python client for the Prometheus monitoring system.
prompt-toolkit                3.0.29      Library for building powerful interactive command lines in Python
protobuf                      3.20.1      Protocol Buffers
psutil                        5.9.0       Cross-platform lib for process and system monitoring in Python.
ptyprocess                    0.7.0       Run a subprocess in a pseudo terminal
pure-eval                     0.2.2       Safely evaluate AST nodes without side effects
py                            1.11.0      library with cross-python path, ini-parsing, io, code, log facilities
py-spy                        0.3.12      Sampling profiler for Python programs
pyarrow                       8.0.0       Python library for Apache Arrow
pyasn1                        0.4.8       ASN.1 types and codecs
pyasn1-modules                0.2.8       A collection of ASN.1-based protocols modules.
pybadges                      3.0.0       A library and command-line tool for generating Github-style badges
pycodestyle                   2.8.0       Python style guide checker
pycparser                     2.21        C parser in Python
pydeps                        1.10.18     Display module dependencies
pydocstyle                    6.1.1       Python docstring style checker
pyflakes                      2.4.0       passive checker of Python programs
pygments                      2.12.0      Pygments is a syntax highlighting package written in Python.
pylev                         1.4.0       A pure Python Levenshtein implementation that's not freaking GPL'd.
pylint                        2.13.9      python code static checker
pylint-gitlab                 1.0.0       This project provides pylint formatters for a nice integration with GitLab CI.
pyparsing                     3.0.9       pyparsing module - Classes and methods to define and execute parsing grammars
pyrsistent                    0.18.1      Persistent/Functional/Immutable data structures
pytest                        7.1.2       pytest: simple powerful testing with Python
pytest-cov                    3.0.0       Pytest plugin for measuring coverage.
pytest-rerunfailures          10.2        pytest plugin to re-run tests to eliminate flaky failures
python-dateutil               2.8.2       Extensions to the standard Python datetime module
pytz                          2022.1      World timezone definitions, modern and historical
pyyaml                        6.0         YAML parser and emitter for Python
pyzmq                         22.3.0      Python bindings for 0MQ
ray                           1.12.1      Ray provides a simple, universal API for building distributed applications.
readme-renderer               35.0        readme_renderer is a library for rendering "readme" descriptions for Warehouse
redis                         3.5.3       Python client for Redis key-value store
requests                      2.27.1      Python HTTP for Humans.
requests-oauthlib             1.3.1       OAuthlib authentication support for Requests.
requests-toolbelt             0.9.1       A utility belt for advanced users of python-requests
restructuredtext-lint         1.4.0       reStructuredText linter
rfc3986                       2.0.0       Validating URI References per RFC 3986
rich                          12.4.1      Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
rsa                           4.8         Pure-Python RSA implementation
scikit-learn                  1.1.0       A set of python modules for machine learning and data mining
scipy                         1.8.0       SciPy: Scientific Library for Python
secretstorage                 3.3.2       Python bindings to FreeDesktop.org Secret Service API
setuptools-scm                6.4.2       the blessed package to manage your versions by scm tags
shellingham                   1.4.0       Tool to Detect Surrounding Shell
six                           1.16.0      Python 2 and 3 compatibility utilities
smart-open                    6.0.0       Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...)
snowballstemmer               2.2.0       This package provides 29 stemmers for 28 languages generated from Snowball algorithms.
soupsieve                     2.3.2.post1 A modern CSS selector implementation for Beautiful Soup.
sphinx                        4.5.0       Python documentation generator
sphinx-autoapi                1.8.4       Sphinx API documentation generator
sphinx-copybutton             0.5.0       Add a copy button to each of your code cells.
sphinx-math-dollar            1.2.1       Sphinx extension to let you write LaTeX math using $$
sphinx-rtd-theme              1.0.0       Read the Docs theme for Sphinx
sphinxcontrib-applehelp       1.0.2       sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books
sphinxcontrib-devhelp         1.0.2       sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document.
sphinxcontrib-htmlhelp        2.0.0       sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files
sphinxcontrib-jsmath          1.0.1       A sphinx extension which renders display math in HTML via JavaScript
sphinxcontrib-qthelp          1.0.3       sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.
sphinxcontrib-serializinghtml 1.1.5       sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).
stack-data                    0.2.0       Extract data from python stack frames and tracebacks for informative displays
stdlib-list                   0.8.0       A list of Python Standard Libraries (2.6-7, 3.2-9).
tables                        3.7.0       Hierarchical datasets for Python
tabulate                      0.8.9       Pretty-print tabular data
tensorboard                   2.9.0       TensorBoard lets you watch Tensors Flow
tensorboard-data-server       0.6.1       Fast data loading for TensorBoard
tensorboard-plugin-wit        1.8.1       What-If Tool TensorBoard plugin.
tensorboardx                  2.5         TensorBoardX lets you watch Tensors Flow without Tensorflow
threadpoolctl                 3.1.0       threadpoolctl
tinycss2                      1.1.1       A tiny CSS parser
tokenize-rt                   4.2.1       A wrapper around the stdlib `tokenize` which roundtrips.
toml                          0.10.2      Python Library for Tom's Obvious, Minimal Language
tomli                         2.0.1       A lil' TOML parser
tomlkit                       0.10.2      Style preserving TOML library
torch                         1.11.0      Tensors and Dynamic neural networks in Python with strong GPU acceleration
tornado                       6.1         Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
tqdm                          4.64.0      Fast, Extensible Progress Meter
traitlets                     5.2.1.post0 
twine                         4.0.0       Collection of utilities for publishing packages on PyPI
types-backports               0.1.3       Typing stubs for backports
types-cryptography            3.3.21      Typing stubs for cryptography
types-enum34                  1.1.8       Typing stubs for enum34
types-futures                 3.3.8       Typing stubs for futures
types-ipaddress               1.0.8       Typing stubs for ipaddress
types-protobuf                3.19.20     Typing stubs for protobuf
types-pyopenssl               22.0.3      Typing stubs for pyOpenSSL
types-pyyaml                  6.0.7       Typing stubs for PyYAML
types-redis                   4.2.3       Typing stubs for redis
types-requests                2.27.26     Typing stubs for requests
types-setuptools              57.4.14     Typing stubs for setuptools
types-six                     1.16.15     Typing stubs for six
types-tabulate                0.8.9       Typing stubs for tabulate
types-toml                    0.10.7      Typing stubs for toml
types-urllib3                 1.26.14     Typing stubs for urllib3
typing-extensions             4.2.0       Backported and Experimental Type Hints for Python 3.7+
unidecode                     1.3.4       ASCII transliterations of Unicode text
urllib3                       1.26.9      HTTP library with thread-safe connection pooling, file post, and more.
virtualenv                    20.14.1     Virtual Python Environment builder
wcwidth                       0.2.5       Measures the displayed width of unicode strings in a terminal
webencodings                  0.5.1       Character encoding aliases for legacy web content
werkzeug                      2.1.2       The comprehensive WSGI web application library.
wrapt                         1.14.1      Module for decorators, wrappers and monkey patching.
xarray                        2022.3.0    N-D labeled arrays and datasets in Python
yarl                          1.7.2       Yet another URL library
zipp                          3.8.0       Backport of pathlib-compatible object wrapper for zip files

poetry.lock.txt

randolf-scholz avatar May 17 '22 11:05 randolf-scholz

Probably fixed with more recent poetry and poetry-core.

If not, there's not much chance of anyone debugging it without a pyproject.toml.

dimbleby avatar May 21 '22 16:05 dimbleby