brightway-lca / brightway-live

πŸ–₯️🌿 Browser-based JupyterHub for Brightway (built on WASM, either based on emscripten-forge or on Pyodide)
https://live.brightway.dev
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

`micropip.install('bw2XXX')` Errors #30

Closed michaelweinold closed 11 months ago

michaelweinold commented 11 months ago

Tested in the Pyodide 0.24.0 REPL:

ValueError: Can't find a pure Python 3 wheel for: 'docopt', 'unicodecsv', 'ps
util'

...magically worked the second time?!

To Reproduce... ``` >>> await micropip.install('bw2io==0.9.dev21') Traceback (most recent call last): File "", line 1, in File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 138, in install await transaction.gather_requirements(requirements) File "/lib/python3.11/site-packages/micropip/transaction.py", line 197, in gather_requirements await asyncio.gather(*requirement_promises) File "/lib/python3.11/site-packages/micropip/transaction.py", line 204, in add_requirement return await self.add_requirement_inner(Requirement(req)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.11/site-packages/micropip/transaction.py", line 319, in add_requirement_inner await self.add_wheel(wheel, req.extras, specifier=str(req.specifier)) File "/lib/python3.11/site-packages/micropip/transaction.py", line 357, in add_wheel await self.gather_requirements(wheel.requires(extras)) File "/lib/python3.11/site-packages/micropip/transaction.py", line 197, in gather_requirements await asyncio.gather(*requirement_promises) File "/lib/python3.11/site-packages/micropip/transaction.py", line 201, in add_requirement return await self.add_requirement_inner(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.11/site-packages/micropip/transaction.py", line 319, in add_requirement_inner await self.add_wheel(wheel, req.extras, specifier=str(req.specifier)) File "/lib/python3.11/site-packages/micropip/transaction.py", line 357, in add_wheel await self.gather_requirements(wheel.requires(extras)) File "/lib/python3.11/site-packages/micropip/transaction.py", line 197, in gather_requirements await asyncio.gather(*requirement_promises) File "/lib/python3.11/site-packages/micropip/transaction.py", line 201, in add_requirement return await self.add_requirement_inner(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.11/site-packages/micropip/transaction.py", line 304, in add_requirement_inner wheel = find_wheel(metadata, req) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.11/site-packages/micropip/transaction.py", line 403, in find_wheel raise ValueError( ValueError: Can't find a pure Python 3 wheel for 'docopt'. See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package You can use `await micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels. >>> await micropip.install('bw2io==0.9.dev21', keep_going = True) Traceback (most recent call last): File "", line 1, in File "/lib/python3.11/site-packages/micropip/_commands/install.py", line 142, in install raise ValueError( ValueError: Can't find a pure Python 3 wheel for: 'docopt', 'unicodecsv', 'psutil' See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-package >>> micropip.list() Name | Version | Source --------- | ------- | ------- packaging | 23.1 | pyodide micropip | 0.4.0 | pyodide >>> await micropip.install('bw2calc==2.0.dev14', keep_going = True) >>> micropip.list() Name | Version | Source --------------- | --------- | ------- packaging | 23.1 | pyodide micropip | 0.4.0 | pyodide stats-arrays | 0.6.5 | pypi appdirs | 1.4.4 | pypi fs | 2.4.16 | pypi bw-processing | 0.8.5 | pypi matrix-utils | 0.2.5 | pypi bw2calc | 2.0.dev14 | pypi six | 1.16.0 | pyodide numpy | 1.25.2 | pyodide python-dateutil | 2.8.2 | pyodide pytz | 2023.3 | pyodide pandas | 1.5.3 | pyodide pyparsing | 3.1.1 | pyodide setuptools | 68.1.2 | pyodide scipy | 1.11.1 | pyodide distutils | 1.0.0 | pyodide openblas | 0.3.23 | pyodide >>> await micropip.install('bw2data==4.0.dev25', keep_going = True) >>> micropip.list() Name | Version | Source ----------------- | --------- | ------- packaging | 23.1 | pyodide micropip | 0.4.0 | pyodide stats-arrays | 0.6.5 | pypi appdirs | 1.4.4 | pypi fs | 2.4.16 | pypi bw-processing | 0.8.5 | pypi matrix-utils | 0.2.5 | pypi bw2calc | 2.0.dev14 | pypi six | 1.16.0 | pyodide numpy | 1.25.2 | pyodide python-dateutil | 2.8.2 | pyodide | 0.22 | pypi bw2parameters | 1.1.0 | pypi bw2data | 4.0.dev25 | pypi tqdm | 4.66.1 | pyodide wrapt | 1.15.0 | pyodide lxml | 4.9.3 | pyodide pycparser | 2.21 | pyodide typing_extensions | 4.7.1 | pyodide cffi | 1.15.1 | pyodide peewee | 3.16.3 | pyodide distutils | 1.0.0 | pyodide openblas | 0.3.23 | pyodide sqlite3 | 1.0.0 | pyodide >>> await micropip.install('bw2io==0.9.dev21', keep_going = True) >>> import bw2io >>> import bw2data >>> import bw2calc ```
michaelweinold commented 11 months ago

...weird, especially since psutil has been removed from the dependency tree of bw2io with https://github.com/brightway-lca/brightway-hub/issues/7#issuecomment-1597381048.

cmutel commented 11 months ago

Maybe some invalid cache got cleared? Not sure how that could even be remotely possible, but any sufficiently advanced technology is indistinguishable from magic, as they say.

michaelweinold commented 11 months ago

Great, @cmutel broke it again - thanks, @cmutel! 😜

michaelweinold commented 11 months ago

Quick update, @cmutel: When I resolve the dependency tree of bw2io==0.9.dev21 for the PyPI wheel, I still get the three removed packages docopt, unicodecsv, psutil.

Dependency tree investigation:

PyPI Wheel (via johnnydep):

johnnydep bw2io==0.9.dev21
Full Dependency Tree ``` bw2io==0.9.dev21 Tools for importing and export life cycle inventory databases β”œβ”€β”€ bw-migrations Migration data and utilities for Brightway IO and LCA in general β”‚ β”œβ”€β”€ bw2data Tools for the management of inventory databases and impact assessment methods. Part of the Brightway2 LCA Framework β”‚ β”‚ β”œβ”€β”€ appdirs A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". β”‚ β”‚ β”œβ”€β”€ bw2parameters Contains all the python boilerplate you need to create a Brightway ecosystem package. β”‚ β”‚ β”‚ β”œβ”€β”€ asteval Safe, minimalistic evaluator of python expression using ast module β”‚ β”‚ β”‚ β”œβ”€β”€ astunparse An AST unparser for Python β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ six<2.0,>=1.6.1 Python 2 and 3 compatibility utilities β”‚ β”‚ β”‚ β”‚ └── wheel<1.0,>=0.23.0 A built-package format for Python β”‚ β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ β”‚ β”œβ”€β”€ pint Physical quantities module β”‚ β”‚ β”‚ β”‚ └── typing-extensions Backported and Experimental Type Hints for Python 3.7+ β”‚ β”‚ β”‚ └── stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ docopt Pythonic argument parser, that will make you smile β”‚ β”‚ β”œβ”€β”€ eight Python 2 to the power of 3. A lightweight porting helper library. β”‚ β”‚ β”‚ └── future<0.19,>=0.16 Clean single-source support for Python 3 and 2 β”‚ β”‚ β”œβ”€β”€ fasteners A python package that provides useful locks β”‚ β”‚ β”œβ”€β”€ future Clean single-source support for Python 3 and 2 β”‚ β”‚ β”œβ”€β”€ lxml Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ peewee>=3.9.4 a little orm β”‚ β”‚ β”œβ”€β”€ psutil Cross-platform lib for process and system monitoring in Python. β”‚ β”‚ β”œβ”€β”€ pyprind Python Progress Bar and Percent Indicator Utility β”‚ β”‚ β”œβ”€β”€ requests>=1.1.0 Python HTTP for Humans. β”‚ β”‚ β”‚ β”œβ”€β”€ certifi>=2017.4.17 Python package for providing Mozilla's CA Bundle. β”‚ β”‚ β”‚ β”œβ”€β”€ charset-normalizer<4,>=2 The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet. β”‚ β”‚ β”‚ β”œβ”€β”€ idna<4,>=2.5 Internationalized Domain Names in Applications (IDNA) β”‚ β”‚ β”‚ └── urllib3<3,>=1.21.1 HTTP library with thread-safe connection pooling, file post, and more. β”‚ β”‚ β”œβ”€β”€ scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ unicodecsv Python2's stdlib csv module is nice, but it doesn't support unicode. This module is a drop-in replacement which *does*. β”‚ β”‚ β”œβ”€β”€ voluptuous UNKNOWN β”‚ β”‚ β”œβ”€β”€ whoosh Fast, pure-Python full text indexing, search, and spell checking library. β”‚ β”‚ └── wrapt Module for decorators, wrappers and monkey patching. β”‚ β”œβ”€β”€ pandas Powerful data structures for data analysis, time series, and statistics β”‚ β”‚ β”œβ”€β”€ numpy>=1.22.4 Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ python-dateutil>=2.8.2 Extensions to the standard Python datetime module β”‚ β”‚ β”‚ └── six>=1.5 Python 2 and 3 compatibility utilities β”‚ β”‚ β”œβ”€β”€ pytz>=2020.1 World timezone definitions, modern and historical β”‚ β”‚ └── tzdata>=2022.1 Provider of IANA time zone data β”‚ └── stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”œβ”€β”€ bw-processing Tools to create structured arrays in a common format β”‚ β”œβ”€β”€ fs Python's filesystem abstraction layer β”‚ β”‚ β”œβ”€β”€ appdirs~=1.4.3 A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". β”‚ β”‚ β”œβ”€β”€ setuptools Easily download, build, install, upgrade, and uninstall Python packages β”‚ β”‚ └── six~=1.10 Python 2 and 3 compatibility utilities β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ └── pandas Powerful data structures for data analysis, time series, and statistics β”‚ β”œβ”€β”€ numpy>=1.22.4 Fundamental package for array computing in Python β”‚ β”œβ”€β”€ python-dateutil>=2.8.2 Extensions to the standard Python datetime module β”‚ β”‚ └── six>=1.5 Python 2 and 3 compatibility utilities β”‚ β”œβ”€β”€ pytz>=2020.1 World timezone definitions, modern and historical β”‚ └── tzdata>=2022.1 Provider of IANA time zone data β”œβ”€β”€ bw2calc>=1.7.4 β”‚ β”œβ”€β”€ eight Python 2 to the power of 3. A lightweight porting helper library. β”‚ β”‚ └── future<0.19,>=0.16 Clean single-source support for Python 3 and 2 β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”œβ”€β”€ scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ └── stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”œβ”€β”€ bw2data>=3.5.1 Tools for the management of inventory databases and impact assessment methods. Part of the Brightway2 LCA Framework β”‚ β”œβ”€β”€ appdirs A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". β”‚ β”œβ”€β”€ bw2parameters Contains all the python boilerplate you need to create a Brightway ecosystem package. β”‚ β”‚ β”œβ”€β”€ asteval Safe, minimalistic evaluator of python expression using ast module β”‚ β”‚ β”œβ”€β”€ astunparse An AST unparser for Python β”‚ β”‚ β”‚ β”œβ”€β”€ six<2.0,>=1.6.1 Python 2 and 3 compatibility utilities β”‚ β”‚ β”‚ └── wheel<1.0,>=0.23.0 A built-package format for Python β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ pint Physical quantities module β”‚ β”‚ β”‚ └── typing-extensions Backported and Experimental Type Hints for Python 3.7+ β”‚ β”‚ └── stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”œβ”€β”€ docopt Pythonic argument parser, that will make you smile β”‚ β”œβ”€β”€ eight Python 2 to the power of 3. A lightweight porting helper library. β”‚ β”‚ └── future<0.19,>=0.16 Clean single-source support for Python 3 and 2 β”‚ β”œβ”€β”€ fasteners A python package that provides useful locks β”‚ β”œβ”€β”€ future Clean single-source support for Python 3 and 2 β”‚ β”œβ”€β”€ lxml Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”œβ”€β”€ peewee>=3.9.4 a little orm β”‚ β”œβ”€β”€ psutil Cross-platform lib for process and system monitoring in Python. β”‚ β”œβ”€β”€ pyprind Python Progress Bar and Percent Indicator Utility β”‚ β”œβ”€β”€ requests>=1.1.0 Python HTTP for Humans. β”‚ β”‚ β”œβ”€β”€ certifi>=2017.4.17 Python package for providing Mozilla's CA Bundle. β”‚ β”‚ β”œβ”€β”€ charset-normalizer<4,>=2 The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet. β”‚ β”‚ β”œβ”€β”€ idna<4,>=2.5 Internationalized Domain Names in Applications (IDNA) β”‚ β”‚ └── urllib3<3,>=1.21.1 HTTP library with thread-safe connection pooling, file post, and more. β”‚ β”œβ”€β”€ scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”œβ”€β”€ stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ β”œβ”€β”€ unicodecsv Python2's stdlib csv module is nice, but it doesn't support unicode. This module is a drop-in replacement which *does*. β”‚ β”œβ”€β”€ voluptuous UNKNOWN β”‚ β”œβ”€β”€ whoosh Fast, pure-Python full text indexing, search, and spell checking library. β”‚ └── wrapt Module for decorators, wrappers and monkey patching. β”œβ”€β”€ bw2parameters>=0.7.1 Contains all the python boilerplate you need to create a Brightway ecosystem package. β”‚ β”œβ”€β”€ asteval Safe, minimalistic evaluator of python expression using ast module β”‚ β”œβ”€β”€ astunparse An AST unparser for Python β”‚ β”‚ β”œβ”€β”€ six<2.0,>=1.6.1 Python 2 and 3 compatibility utilities β”‚ β”‚ └── wheel<1.0,>=0.23.0 A built-package format for Python β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ β”œβ”€β”€ pint Physical quantities module β”‚ β”‚ └── typing-extensions Backported and Experimental Type Hints for Python 3.7+ β”‚ └── stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”œβ”€β”€ lxml Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API. β”œβ”€β”€ mrio-common-metadata Common Datapackage schema and utilities for MRIO tables β”‚ β”œβ”€β”€ openpyxl A Python library to read/write Excel 2010 xlsx/xlsm files β”‚ β”‚ └── et-xmlfile An implementation of lxml.xmlfile for the standard library β”‚ β”œβ”€β”€ pandas Powerful data structures for data analysis, time series, and statistics β”‚ β”‚ β”œβ”€β”€ numpy>=1.22.4 Fundamental package for array computing in Python β”‚ β”‚ β”œβ”€β”€ python-dateutil>=2.8.2 Extensions to the standard Python datetime module β”‚ β”‚ β”‚ └── six>=1.5 Python 2 and 3 compatibility utilities β”‚ β”‚ β”œβ”€β”€ pytz>=2020.1 World timezone definitions, modern and historical β”‚ β”‚ └── tzdata>=2022.1 Provider of IANA time zone data β”‚ β”œβ”€β”€ pyxlsb Excel 2007-2010 Binary Workbook (xlsb) parser β”‚ β”œβ”€β”€ scipy Fundamental algorithms for scientific computing in Python β”‚ β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”‚ └── xlrd Library for developers to extract data from Microsoft Excel (tm) .xls spreadsheet files β”œβ”€β”€ numpy Fundamental package for array computing in Python β”œβ”€β”€ openpyxl A Python library to read/write Excel 2010 xlsx/xlsm files β”‚ └── et-xmlfile An implementation of lxml.xmlfile for the standard library β”œβ”€β”€ platformdirs A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir". β”œβ”€β”€ requests Python HTTP for Humans. β”‚ β”œβ”€β”€ certifi>=2017.4.17 Python package for providing Mozilla's CA Bundle. β”‚ β”œβ”€β”€ charset-normalizer<4,>=2 The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet. β”‚ β”œβ”€β”€ idna<4,>=2.5 Internationalized Domain Names in Applications (IDNA) β”‚ └── urllib3<3,>=1.21.1 HTTP library with thread-safe connection pooling, file post, and more. β”œβ”€β”€ scipy Fundamental algorithms for scientific computing in Python β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”œβ”€β”€ stats-arrays Standard NumPy array interface for defining uncertain parameters β”‚ β”œβ”€β”€ numpy Fundamental package for array computing in Python β”‚ └── scipy Fundamental algorithms for scientific computing in Python β”‚ └── numpy<1.28.0,>=1.21.6 Fundamental package for array computing in Python β”œβ”€β”€ tqdm Fast, Extensible Progress Meter β”œβ”€β”€ unidecode ASCII transliterations of Unicode text β”œβ”€β”€ voluptuous UNKNOWN β”œβ”€β”€ xlrd Library for developers to extract data from Microsoft Excel (tm) .xls spreadsheet files └── xlsxwriter A Python module for creating Excel XLSX files. ```

Conda distribution (via conda-tree):

conda-tree depends -t bw2io
Full Dependency Tree ``` bw2io==0.9.dev21 β”œβ”€ bw2calc 2.0.dev14 [required: >=1.7.4] β”‚ β”œβ”€ bw_processing 0.8.5 [required: any] β”‚ β”‚ β”œβ”€ fs 2.4.16 [required: any] β”‚ β”‚ β”‚ β”œβ”€ appdirs 1.4.4 [required: >=1.4.3,<2] β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: any] β”‚ β”‚ β”‚ β”‚ β”œβ”€ bzip2 1.0.8 [required: >=1.0.8,<2.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ libffi 3.4.2 [required: >=3.4,<4.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ libsqlite 3.43.0 [required: >=3.42.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ β”‚ └─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ ncurses 6.4 [required: >=6.4,<7.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ openssl 3.1.2 [required: >=3.1.1,<4.0a0] β”‚ β”‚ β”‚ β”‚ β”‚ └─ ca-certificates 2023.7.22 [required: any] β”‚ β”‚ β”‚ β”‚ β”œβ”€ readline 8.2 [required: >=8.2,<9.0a0] β”‚ β”‚ β”‚ β”‚ β”‚ └─ ncurses 6.4 [required: >=6.3,<7.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ tk 8.6.12 [required: >=8.6.12,<8.7.0a0] β”‚ β”‚ β”‚ β”‚ β”‚ └─ libzlib 1.2.13 [required: >=1.2.11,<1.3.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ tzdata 2023c [required: any] β”‚ β”‚ β”‚ β”‚ β”œβ”€ xz 5.2.6 [required: >=5.2.6,<6.0a0] β”‚ β”‚ β”‚ β”‚ └─ pip 23.2.1 [required: any] β”‚ β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”‚ β”œβ”€ setuptools 68.2.2 [required: any] β”‚ β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”‚ └─ wheel 0.41.2 [required: any] β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ setuptools 68.2.2 [required: any] β”‚ β”‚ β”‚ β”‚ └─ dependencies of setuptools displayed above β”‚ β”‚ β”‚ └─ six 1.16.0 [required: >=1.10.0,<2] β”‚ β”‚ β”‚ └─ python 3.10.12 [required: any] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ β”‚ β”œβ”€ libblas 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ libopenblas 0.3.24 [required: >=0.3.24,<1.0a0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ libgfortran 5.0.0 [required: 5.*] β”‚ β”‚ β”‚ β”‚ β”‚ └─ libgfortran5 13.2.0 [required: 13.2.0, hf226fd6_1] β”‚ β”‚ β”‚ β”‚ β”‚ └─ llvm-openmp 16.0.6 [required: >=8.0.0] β”‚ β”‚ β”‚ β”‚ β”œβ”€ libgfortran5 13.2.0 [required: >=12.3.0] β”‚ β”‚ β”‚ β”‚ β”‚ └─ dependencies of libgfortran5 displayed above β”‚ β”‚ β”‚ β”‚ └─ llvm-openmp 16.0.6 [required: >=15.0.7] β”‚ β”‚ β”‚ β”œβ”€ libcblas 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ libblas 3.9.0 [required: 3.9.0, 18_osxarm64_openblas] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libblas displayed above β”‚ β”‚ β”‚ β”œβ”€ libcxx 16.0.6 [required: >=15.0.7] β”‚ β”‚ β”‚ β”œβ”€ liblapack 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ libblas 3.9.0 [required: 3.9.0, 18_osxarm64_openblas] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libblas displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”‚ β”œβ”€ pandas 2.1.0 [required: any] β”‚ β”‚ β”‚ β”œβ”€ libcxx 16.0.6 [required: >=15.0.7] β”‚ β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: >=1.22.4,<2.0a0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ python-dateutil 2.8.2 [required: >=2.8.1] β”‚ β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”‚ └─ six 1.16.0 [required: >=1.5] β”‚ β”‚ β”‚ β”‚ └─ dependencies of six displayed above β”‚ β”‚ β”‚ β”œβ”€ python-tzdata 2023.3 [required: >=2022a] β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”‚ β”‚ └─ pytz 2023.3.post1 [required: >=2020.1] β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python 3.10.12 [required: >=3.5] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ matrix_utils 0.2.5 [required: any] β”‚ β”‚ β”œβ”€ bw_processing 0.8.5 [required: >=0.8] β”‚ β”‚ β”‚ └─ dependencies of bw_processing displayed above β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”œβ”€ pandas 2.1.0 [required: any] β”‚ β”‚ β”‚ └─ dependencies of pandas displayed above β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”œβ”€ scipy 1.11.2 [required: any] β”‚ β”‚ β”‚ β”œβ”€ libblas 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libblas displayed above β”‚ β”‚ β”‚ β”œβ”€ libcblas 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libcblas displayed above β”‚ β”‚ β”‚ β”œβ”€ libcxx 16.0.6 [required: >=15.0.7] β”‚ β”‚ β”‚ β”œβ”€ libgfortran 5.0.0 [required: 5.*] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libgfortran displayed above β”‚ β”‚ β”‚ β”œβ”€ libgfortran5 13.2.0 [required: >=13.2.0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of libgfortran5 displayed above β”‚ β”‚ β”‚ β”œβ”€ liblapack 3.9.0 [required: >=3.9.0,<4.0a0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of liblapack displayed above β”‚ β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: >=1.22.4,<2.0a0] β”‚ β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”‚ └─ stats_arrays 0.6.5 [required: any] β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ scipy 1.11.2 [required: any] β”‚ β”‚ └─ dependencies of scipy displayed above β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”œβ”€ pandas 2.1.0 [required: any] β”‚ β”‚ └─ dependencies of pandas displayed above β”‚ β”œβ”€ python 3.10.12 [required: >=3.9] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ scipy 1.11.2 [required: any] β”‚ β”‚ └─ dependencies of scipy displayed above β”‚ └─ stats_arrays 0.6.5 [required: any] β”‚ └─ dependencies of stats_arrays displayed above β”œβ”€ bw2data 4.0.dev25 [required: >=3.5.1] β”‚ β”œβ”€ bw2parameters 1.1.0 [required: any] β”‚ β”‚ β”œβ”€ asteval 0.9.31 [required: any] β”‚ β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: >=1.12] β”‚ β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”‚ β”œβ”€ pip 23.2.1 [required: any] β”‚ β”‚ β”‚ β”‚ └─ dependencies of pip displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ setuptools-scm 7.1.0 [required: any] β”‚ β”‚ β”‚ β”œβ”€ packaging 23.1 [required: >=20.0] β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.8] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ β”œβ”€ setuptools 68.2.2 [required: >=45] β”‚ β”‚ β”‚ β”‚ └─ dependencies of setuptools displayed above β”‚ β”‚ β”‚ β”œβ”€ tomli 2.0.1 [required: >=1.0.0] β”‚ β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ typing-extensions 4.7.1 [required: any] β”‚ β”‚ β”‚ └─ typing_extensions 4.7.1 [required: 4.7.1, pyha770c72_0] β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”œβ”€ astunparse 1.6.3 [required: any] β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ six 1.16.0 [required: >=1.6.1,<2.0] β”‚ β”‚ β”‚ └─ dependencies of six displayed above β”‚ β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”‚ β”œβ”€ pint 0.22 [required: any] β”‚ β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.9] β”‚ β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”‚ └─ typing_extensions 4.7.1 [required: any] β”‚ β”‚ β”‚ └─ dependencies of typing_extensions displayed above β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ stats_arrays 0.6.5 [required: any] β”‚ β”‚ └─ dependencies of stats_arrays displayed above β”‚ β”œβ”€ bw_processing 0.8.5 [required: any] β”‚ β”‚ └─ dependencies of bw_processing displayed above β”‚ β”œβ”€ lxml 4.9.3 [required: any] β”‚ β”‚ β”œβ”€ libxml2 2.11.5 [required: >=2.11.4,<2.12.0a0] β”‚ β”‚ β”‚ β”œβ”€ icu 73.2 [required: >=73.2,<74.0a0] β”‚ β”‚ β”‚ β”œβ”€ libiconv 1.17 [required: >=1.17,<2.0a0] β”‚ β”‚ β”‚ β”œβ”€ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0] β”‚ β”‚ β”‚ └─ xz 5.2.6 [required: >=5.2.6,<6.0a0] β”‚ β”‚ β”œβ”€ libxslt 1.1.37 [required: >=1.1.37,<2.0a0] β”‚ β”‚ β”‚ └─ libxml2 2.11.5 [required: >=2.11.3,<2.12.0a0] β”‚ β”‚ β”‚ └─ dependencies of libxml2 displayed above β”‚ β”‚ β”œβ”€ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0] β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”œβ”€ numpy 1.25.2 [required: any] β”‚ β”‚ └─ dependencies of numpy displayed above β”‚ β”œβ”€ peewee 3.16.3 [required: >=3.9.4] β”‚ β”‚ β”œβ”€ libsqlite 3.43.0 [required: >=3.42.0,<4.0a0] β”‚ β”‚ β”‚ └─ dependencies of libsqlite displayed above β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”œβ”€ platformdirs 3.10.0 [required: any] β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ typing-extensions 4.7.1 [required: >=4.6.3] β”‚ β”‚ └─ dependencies of typing-extensions displayed above β”‚ β”œβ”€ python 3.10.12 [required: >=3.9] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ scipy 1.11.2 [required: any] β”‚ β”‚ └─ dependencies of scipy displayed above β”‚ β”œβ”€ stats_arrays 0.6.5 [required: any] β”‚ β”‚ └─ dependencies of stats_arrays displayed above β”‚ β”œβ”€ tqdm 4.66.1 [required: any] β”‚ β”‚ β”œβ”€ colorama 0.4.6 [required: any] β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ voluptuous 0.13.1 [required: any] β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ whoosh 2.7.4 [required: any] β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ └─ wrapt 1.15.0 [required: any] β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ └─ dependencies of python displayed above β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”œβ”€ bw2parameters 1.1.0 [required: >=0.7.1] β”‚ └─ dependencies of bw2parameters displayed above β”œβ”€ bw_migrations 0.2 [required: any] β”‚ β”œβ”€ bw2data 4.0.dev25 [required: any] β”‚ β”‚ └─ dependencies of bw2data displayed above β”‚ β”œβ”€ pandas 2.1.0 [required: any] β”‚ β”‚ └─ dependencies of pandas displayed above β”‚ β”œβ”€ python 3.10.12 [required: >=3.7] β”‚ β”‚ └─ dependencies of python displayed above β”‚ └─ stats_arrays 0.6.5 [required: any] β”‚ └─ dependencies of stats_arrays displayed above β”œβ”€ bw_processing 0.8.5 [required: any] β”‚ └─ dependencies of bw_processing displayed above β”œβ”€ lxml 4.9.3 [required: any] β”‚ └─ dependencies of lxml displayed above β”œβ”€ mrio_common_metadata 0.2.1 [required: any] β”‚ β”œβ”€ openpyxl 3.1.2 [required: any] β”‚ β”‚ β”œβ”€ et_xmlfile 1.1.0 [required: any] β”‚ β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”œβ”€ pandas 2.1.0 [required: any] β”‚ β”‚ └─ dependencies of pandas displayed above β”‚ β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ pyxlsb 1.0.10 [required: any] β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ scipy 1.11.2 [required: any] β”‚ β”‚ └─ dependencies of scipy displayed above β”‚ └─ xlrd 2.0.1 [required: any] β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ └─ dependencies of python displayed above β”œβ”€ numpy 1.25.2 [required: any] β”‚ └─ dependencies of numpy displayed above β”œβ”€ openpyxl 3.1.2 [required: any] β”‚ └─ dependencies of openpyxl displayed above β”œβ”€ platformdirs 3.10.0 [required: any] β”‚ └─ dependencies of platformdirs displayed above β”œβ”€ python 3.10.12 [required: >=3.6] β”‚ └─ dependencies of python displayed above β”œβ”€ requests 2.31.0 [required: any] β”‚ β”œβ”€ certifi 2023.7.22 [required: >=2017.4.17] β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ charset-normalizer 3.2.0 [required: >=2,<4] β”‚ β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ idna 3.4 [required: >=2.5,<4] β”‚ β”‚ └─ python 3.10.12 [required: >=3.6] β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”œβ”€ python 3.10.12 [required: >=3.7] β”‚ β”‚ └─ dependencies of python displayed above β”‚ └─ urllib3 2.0.4 [required: >=1.21.1,<3] β”‚ β”œβ”€ brotli-python 1.1.0 [required: >=1.0.9] β”‚ β”‚ β”œβ”€ libcxx 16.0.6 [required: >=15.0.7] β”‚ β”‚ β”œβ”€ python 3.10.12 [required: >=3.10,<3.11.0a0, *_cpython] β”‚ β”‚ β”‚ └─ dependencies of python displayed above β”‚ β”‚ └─ python_abi 3.10 [required: 3.10.*, *_cp310] β”‚ β”œβ”€ pysocks 1.7.1 [required: >=1.5.6,<2.0,!=1.5.7] β”‚ β”‚ β”œβ”€ __unix [required: any] β”‚ β”‚ └─ python 3.10.12 [required: >=3.8] β”‚ β”‚ └─ dependencies of python displayed above β”‚ └─ python 3.10.12 [required: >=3.7] β”‚ └─ dependencies of python displayed above β”œβ”€ scipy 1.11.2 [required: any] β”‚ └─ dependencies of scipy displayed above β”œβ”€ stats_arrays 0.6.5 [required: any] β”‚ └─ dependencies of stats_arrays displayed above β”œβ”€ unidecode 1.3.6 [required: any] β”‚ └─ python 3.10.12 [required: >=3.5] β”‚ └─ dependencies of python displayed above β”œβ”€ voluptuous 0.13.1 [required: any] β”‚ └─ dependencies of voluptuous displayed above β”œβ”€ xlrd 2.0.1 [required: any] β”‚ └─ dependencies of xlrd displayed above └─ xlsxwriter 3.1.3 [required: any] └─ python 3.10.12 [required: >=3.6] └─ dependencies of python displayed above ```
michaelweinold commented 11 months ago

...the tree branches like this to the forbidden packages:

bw2io==0.9.dev21 > bw-migrations > bw2data > unicodecsv
bw2io==0.9.dev21 > bw2data>=3.5.1 > unicodecsv
bw2io==0.9.dev21 > bw-migrations > bw2data > psutil
bw2io==0.9.dev21 > bw2data>=3.5.1 > psutil
bw2io==0.9.dev21 > bw_migrations > bw2data > docopt
bw2io==0.9.dev21 > bw2data>=3.5.1 > docopt
cmutel commented 11 months ago

OK, see if bw2io 0.9.dev22 treats you any better.

Edit: Yep, seems good now!