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

Clean Brightway Dependencies: Binary Packages, Deprecated Packages and System-Level Packages #7

Closed
7 tasks done
michaelweinold opened this issue Apr 7, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@michaelweinold
Copy link
Collaborator

michaelweinold commented Apr 7, 2023

Overview

package pure 🐍? issue solution
lxml no not pure 🐍 build for web assembly
numpy no none
openpyxl yes none
psutil no won't work in sandboxed WASM env add option in code to ignore calls to this package
pyprind no, BUT requires psutil replace with tqdm
requests yes none
scipy no none
tqdm yes none
unidecode yes none
voluptuous yes none
xlrd yes none
xlsxwriter yes none
peewee no not pure 🐍 build for web assembly
woosh yes none
wrapt yes none
fasteners yes likely won't work remove as per discussion with @cmutel
docopt no not pure 🐍 replace with pure-python docopt-ng
appdirs yes package deprecated replace with platformdirs
fs yes none
matplotlib no none
tabulate yes none

Full List of Dependencies

conda-tree depends -t brightway2
brightway25_nosolver==1.0.6
  ├─ bw2analyzer 0.11.4 [required: >=0.11.4]
  │  ├─ bw2calc 2.0.dev12 [required: any]
  │  │  ├─ bw_processing 0.8.2 [required: >=0.8]
  │  │  │  ├─ fs 2.4.15 [required: any]
  │  │  │  │  ├─ appdirs 1.4.4 [required: >=1.4.3,<2]
  │  │  │  │  │  └─ python 3.11.3 [required: any]
  │  │  │  │  │     ├─ bzip2 1.0.8 [required: >=1.0.8,<2.0a0]
  │  │  │  │  │     ├─ libexpat 2.5.0 [required: >=2.5.0,<3.0a0]
  │  │  │  │  │     ├─ libffi 3.4.2 [required: >=3.4,<4.0a0]
  │  │  │  │  │     ├─ libsqlite 3.40.0 [required: >=3.40.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.3 [required: >=6.3,<7.0a0]
  │  │  │  │  │     ├─ openssl 3.1.0 [required: >=3.1.0,<4.0a0]
  │  │  │  │  │     │  └─ ca-certificates 2022.12.7 [required: any]
  │  │  │  │  │     ├─ readline 8.2 [required: >=8.2,<9.0a0]
  │  │  │  │  │     │  └─ ncurses 6.3 [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.0.1 [required: any]
  │  │  │  │  │        ├─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │        │  └─ dependencies of python displayed above
  │  │  │  │  │        ├─ setuptools 67.6.1 [required: any]
  │  │  │  │  │        │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │        │     └─ dependencies of python displayed above
  │  │  │  │  │        └─ wheel 0.40.0 [required: any]
  │  │  │  │  │           └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │              └─ dependencies of python displayed above
  │  │  │  │  ├─ python 3.11.3 [required: >=3.6]
  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  ├─ pytz 2023.3 [required: any]
  │  │  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  │  ├─ setuptools 67.6.1 [required: any]
  │  │  │  │  │  └─ dependencies of setuptools displayed above
  │  │  │  │  └─ six 1.16.0 [required: >=1.10.0,<2]
  │  │  │  │     └─ python 3.11.3 [required: any]
  │  │  │  │        └─ dependencies of python displayed above
  │  │  │  ├─ numpy 1.24.2 [required: any]
  │  │  │  │  ├─ libblas 3.9.0 [required: >=3.9.0,<4.0a0]
  │  │  │  │  │  └─ libopenblas 0.3.21 [required: >=0.3.21,<1.0a0]
  │  │  │  │  │     ├─ libgfortran 5.0.0 [required: 5.*]
  │  │  │  │  │     │  └─ libgfortran5 12.2.0 [required: any]
  │  │  │  │  │     │     └─ llvm-openmp 16.0.0 [required: >=8.0.0]
  │  │  │  │  │     ├─ libgfortran5 12.2.0 [required: >=11.3.0]
  │  │  │  │  │     │  └─ dependencies of libgfortran5 displayed above
  │  │  │  │  │     └─ llvm-openmp 16.0.0 [required: >=14.0.4]
  │  │  │  │  ├─ libcblas 3.9.0 [required: >=3.9.0,<4.0a0]
  │  │  │  │  │  └─ libblas 3.9.0 [required: 3.9.0, 16_osxarm64_openblas]
  │  │  │  │  │     └─ dependencies of libblas displayed above
  │  │  │  │  ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  │  ├─ liblapack 3.9.0 [required: >=3.9.0,<4.0a0]
  │  │  │  │  │  └─ libblas 3.9.0 [required: 3.9.0, 16_osxarm64_openblas]
  │  │  │  │  │     └─ dependencies of libblas displayed above
  │  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  ├─ pandas 2.0.0 [required: any]
  │  │  │  │  ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  │  ├─ numpy 1.24.2 [required: >=1.23.5,<2.0a0]
  │  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  ├─ python-dateutil 2.8.2 [required: >=2.8.1]
  │  │  │  │  │  ├─ python 3.11.3 [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.11.3 [required: >=3.6]
  │  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  │  ├─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  │  └─ pytz 2023.3 [required: >=2020.1]
  │  │  │  │     └─ dependencies of pytz displayed above
  │  │  │  └─ python 3.11.3 [required: >=3.5]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ matrix_utils 0.2.5 [required: >=0.2.5]
  │  │  │  ├─ bw_processing 0.8.2 [required: >=0.8]
  │  │  │  │  └─ dependencies of bw_processing displayed above
  │  │  │  ├─ numpy 1.24.2 [required: any]
  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  ├─ pandas 2.0.0 [required: any]
  │  │  │  │  └─ dependencies of pandas displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.6]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  ├─ scipy 1.10.1 [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.0 [required: >=14.0.6]
  │  │  │  │  ├─ libgfortran 5.0.0 [required: 5.*]
  │  │  │  │  │  └─ dependencies of libgfortran displayed above
  │  │  │  │  ├─ libgfortran5 12.2.0 [required: >=11.3.0]
  │  │  │  │  │  └─ dependencies of libgfortran5 displayed above
  │  │  │  │  ├─ liblapack 3.9.0 [required: >=3.9.0,<4.0a0]
  │  │  │  │  │  └─ dependencies of liblapack displayed above
  │  │  │  │  ├─ numpy 1.24.2 [required: >=1.23.5,<2.0a0]
  │  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  │  ├─ pooch 1.7.0 [required: any]
  │  │  │  │  │  ├─ packaging 23.0 [required: >=20.0]
  │  │  │  │  │  │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  │  │  ├─ platformdirs 3.2.0 [required: >=2.5.0]
  │  │  │  │  │  │  ├─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  │  │  └─ typing-extensions 4.5.0 [required: >=4.5]
  │  │  │  │  │  │     └─ typing_extensions 4.5.0 [required: 4.5.0, pyha770c72_0]
  │  │  │  │  │  │        └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │  │           └─ dependencies of python displayed above
  │  │  │  │  │  ├─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  │  └─ requests 2.28.2 [required: >=2.19.0]
  │  │  │  │  │     ├─ certifi 2022.12.7 [required: >=2017.4.17]
  │  │  │  │  │     │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │     │     └─ dependencies of python displayed above
  │  │  │  │  │     ├─ charset-normalizer 3.1.0 [required: >=2,<4]
  │  │  │  │  │     │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │     │     └─ dependencies of python displayed above
  │  │  │  │  │     ├─ idna 3.4 [required: >=2.5,<4]
  │  │  │  │  │     │  └─ python 3.11.3 [required: >=3.6]
  │  │  │  │  │     │     └─ dependencies of python displayed above
  │  │  │  │  │     ├─ python 3.11.3 [required: >=3.7,<4.0]
  │  │  │  │  │     │  └─ dependencies of python displayed above
  │  │  │  │  │     └─ urllib3 1.26.15 [required: >=1.21.1,<1.27]
  │  │  │  │  │        ├─ brotlipy 0.7.0 [required: >=0.6.0]
  │  │  │  │  │        │  ├─ cffi 1.15.1 [required: >=1.0.0]
  │  │  │  │  │        │  │  ├─ libffi 3.4.2 [required: >=3.4,<4.0a0]
  │  │  │  │  │        │  │  ├─ pycparser 2.21 [required: any]
  │  │  │  │  │        │  │  │  └─ python 3.11.3 [required: ==2.7.*|>=3.4]
  │  │  │  │  │        │  │  │     └─ dependencies of python displayed above
  │  │  │  │  │        │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │        │  │  │  └─ dependencies of python displayed above
  │  │  │  │  │        │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  │  │        │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │        │  │  └─ dependencies of python displayed above
  │  │  │  │  │        │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  │  │        ├─ certifi 2022.12.7 [required: any]
  │  │  │  │  │        │  └─ dependencies of certifi displayed above
  │  │  │  │  │        ├─ cryptography 40.0.1 [required: >=1.3.4]
  │  │  │  │  │        │  ├─ cffi 1.15.1 [required: >=1.12]
  │  │  │  │  │        │  │  └─ dependencies of cffi displayed above
  │  │  │  │  │        │  ├─ openssl 3.1.0 [required: >=3.1.0,<4.0a0]
  │  │  │  │  │        │  │  └─ dependencies of openssl displayed above
  │  │  │  │  │        │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │        │  │  └─ dependencies of python displayed above
  │  │  │  │  │        │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  │  │        ├─ idna 3.4 [required: >=2.0.0]
  │  │  │  │  │        │  └─ dependencies of idna displayed above
  │  │  │  │  │        ├─ pyopenssl 23.1.1 [required: >=0.14]
  │  │  │  │  │        │  ├─ cryptography 40.0.1 [required: >=38.0.0,<41]
  │  │  │  │  │        │  │  └─ dependencies of cryptography displayed above
  │  │  │  │  │        │  └─ python 3.11.3 [required: >=3.6]
  │  │  │  │  │        │     └─ dependencies of python displayed above
  │  │  │  │  │        ├─ pysocks 1.7.1 [required: >=1.5.6,<2.0,!=1.5.7]
  │  │  │  │  │        │  ├─ __unix [required: any]
  │  │  │  │  │        │  └─ python 3.11.3 [required: >=3.8]
  │  │  │  │  │        │     └─ dependencies of python displayed above
  │  │  │  │  │        └─ python 3.11.3 [required: <4.0]
  │  │  │  │  │           └─ dependencies of python displayed above
  │  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  └─ stats_arrays 0.6.5 [required: any]
  │  │  │     ├─ numpy 1.24.2 [required: any]
  │  │  │     │  └─ dependencies of numpy displayed above
  │  │  │     ├─ python 3.11.3 [required: >=3.6]
  │  │  │     │  └─ dependencies of python displayed above
  │  │  │     └─ scipy 1.10.1 [required: any]
  │  │  │        └─ dependencies of scipy displayed above
  │  │  ├─ numpy 1.24.2 [required: >=1.20]
  │  │  │  └─ dependencies of numpy displayed above
  │  │  ├─ python 3.11.3 [required: any]
  │  │  │  └─ dependencies of python displayed above
  │  │  ├─ scipy 1.10.1 [required: any]
  │  │  │  └─ dependencies of scipy displayed above
  │  │  ├─ setuptools 67.6.1 [required: any]
  │  │  │  └─ dependencies of setuptools displayed above
  │  │  └─ stats_arrays 0.6.5 [required: any]
  │  │     └─ dependencies of stats_arrays displayed above
  │  ├─ bw2data 4.0.dev18 [required: any]
  │  │  ├─ appdirs 1.4.4 [required: >=1.4.4]
  │  │  │  └─ dependencies of appdirs displayed above
  │  │  ├─ bw2parameters 0.7 [required: >=0.6.6]
  │  │  │  ├─ asteval 0.9.29 [required: any]
  │  │  │  │  ├─ numpy 1.24.2 [required: >=1.12]
  │  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  │  ├─ pip 23.0.1 [required: any]
  │  │  │  │  │  └─ dependencies of pip displayed above
  │  │  │  │  ├─ python 3.11.3 [required: >=3.7]
  │  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  │  └─ setuptools-scm 7.1.0 [required: any]
  │  │  │  │     ├─ packaging 23.0 [required: >=20.0]
  │  │  │  │     │  └─ dependencies of packaging displayed above
  │  │  │  │     ├─ python 3.11.3 [required: >=3.8]
  │  │  │  │     │  └─ dependencies of python displayed above
  │  │  │  │     ├─ setuptools 67.6.1 [required: >=45]
  │  │  │  │     │  └─ dependencies of setuptools displayed above
  │  │  │  │     ├─ tomli 2.0.1 [required: >=1.0.0]
  │  │  │  │     │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │     │     └─ dependencies of python displayed above
  │  │  │  │     └─ typing-extensions 4.5.0 [required: any]
  │  │  │  │        └─ dependencies of typing-extensions displayed above
  │  │  │  ├─ astunparse 1.6.3 [required: any]
  │  │  │  │  ├─ python 3.11.3 [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.24.2 [required: any]
  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  ├─ python 3.11.3 [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.2 [required: >=0.8]
  │  │  │  └─ dependencies of bw_processing displayed above
  │  │  ├─ docopt 0.6.2 [required: >=0.6.2]
  │  │  │  └─ python 3.11.3 [required: any]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ fasteners 0.17.3 [required: >=0.14.1]
  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ lxml 4.9.2 [required: >=4.6]
  │  │  │  ├─ libxml2 2.10.3 [required: >=2.10.3,<2.11.0a0]
  │  │  │  │  ├─ icu 72.1 [required: >=72.1,<73.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.10.3 [required: >=2.10.3,<2.11.0a0]
  │  │  │  │     └─ dependencies of libxml2 displayed above
  │  │  │  ├─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ numpy 1.24.2 [required: >=1.20]
  │  │  │  └─ dependencies of numpy displayed above
  │  │  ├─ peewee 3.16.0 [required: >=3.14.4]
  │  │  │  ├─ libsqlite 3.40.0 [required: >=3.40.0,<4.0a0]
  │  │  │  │  └─ dependencies of libsqlite displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ psutil 5.9.4 [required: >=5.8]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ pyprind 2.11.2 [required: >=2.11]
  │  │  │  ├─ psutil 5.9.4 [required: >=3.2.0]
  │  │  │  │  └─ dependencies of psutil displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ python 3.11.3 [required: >=3.9]
  │  │  │  └─ dependencies of python displayed above
  │  │  ├─ requests 2.28.2 [required: >=2.25]
  │  │  │  └─ dependencies of requests displayed above
  │  │  ├─ scipy 1.10.1 [required: >=1.6]
  │  │  │  └─ dependencies of scipy displayed above
  │  │  ├─ stats_arrays 0.6.5 [required: >=0.6.5]
  │  │  │  └─ dependencies of stats_arrays displayed above
  │  │  ├─ tqdm 4.65.0 [required: any]
  │  │  │  ├─ colorama 0.4.6 [required: any]
  │  │  │  │  └─ python 3.11.3 [required: >=3.7]
  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  └─ python 3.11.3 [required: >=3.7]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ voluptuous 0.13.1 [required: >=0.12]
  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ whoosh 2.7.4 [required: any]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  └─ wrapt 1.15.0 [required: >=1.12]
  │  │     ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │     │  └─ dependencies of python displayed above
  │  │     └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  ├─ matplotlib-base 3.7.1 [required: any]
  │  │  ├─ certifi 2022.12.7 [required: >=2020.06.20]
  │  │  │  └─ dependencies of certifi displayed above
  │  │  ├─ contourpy 1.0.7 [required: >=1.0.1]
  │  │  │  ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  ├─ numpy 1.24.2 [required: >=1.16]
  │  │  │  │  └─ dependencies of numpy displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ cycler 0.11.0 [required: >=0.10]
  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ fonttools 4.39.3 [required: >=4.22.0]
  │  │  │  ├─ brotli 1.0.9 [required: any]
  │  │  │  │  ├─ brotli-bin 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  │  ├─ libbrotlidec 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  │  │  └─ libbrotlicommon 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  │  └─ libbrotlienc 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  │     └─ libbrotlicommon 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  ├─ libbrotlidec 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │  │  └─ dependencies of libbrotlidec displayed above
  │  │  │  │  └─ libbrotlienc 1.0.9 [required: 1.0.9, h1a8c8d9_8]
  │  │  │  │     └─ dependencies of libbrotlienc displayed above
  │  │  │  ├─ munkres 1.1.4 [required: any]
  │  │  │  │  └─ python 3.11.3 [required: any]
  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ freetype 2.12.1 [required: >=2.12.1,<3.0a0]
  │  │  │  ├─ libpng 1.6.39 [required: >=1.6.39,<1.7.0a0]
  │  │  │  │  └─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  └─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  ├─ kiwisolver 1.4.4 [required: >=1.0.1]
  │  │  │  ├─ libcxx 16.0.0 [required: >=14.0.4]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  ├─ numpy 1.24.2 [required: >=1.23.5,<2.0a0]
  │  │  │  └─ dependencies of numpy displayed above
  │  │  ├─ packaging 23.0 [required: >=20.0]
  │  │  │  └─ dependencies of packaging displayed above
  │  │  ├─ pillow 9.5.0 [required: >=6.2.0]
  │  │  │  ├─ freetype 2.12.1 [required: >=2.12.1,<3.0a0]
  │  │  │  │  └─ dependencies of freetype displayed above
  │  │  │  ├─ lcms2 2.15 [required: >=2.15,<3.0a0]
  │  │  │  │  ├─ libjpeg-turbo 2.1.5.1 [required: >=2.1.5.1,<3.0a0]
  │  │  │  │  └─ libtiff 4.5.0 [required: >=4.5.0,<4.6.0a0]
  │  │  │  │     ├─ lerc 4.0.0 [required: >=4.0.0,<5.0a0]
  │  │  │  │     │  └─ libcxx 16.0.0 [required: >=13.0.1]
  │  │  │  │     ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  │     ├─ libdeflate 1.18 [required: >=1.18,<1.19.0a0]
  │  │  │  │     ├─ libjpeg-turbo 2.1.5.1 [required: >=2.1.5.1,<3.0a0]
  │  │  │  │     ├─ libwebp-base 1.3.0 [required: >=1.3.0,<2.0a0]
  │  │  │  │     ├─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  │     ├─ xz 5.2.6 [required: >=5.2.6,<6.0a0]
  │  │  │  │     └─ zstd 1.5.2 [required: >=1.5.2,<1.6.0a0]
  │  │  │  │        ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  │        └─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  ├─ libjpeg-turbo 2.1.5.1 [required: >=2.1.5.1,<3.0a0]
  │  │  │  ├─ libtiff 4.5.0 [required: >=4.5.0,<4.6.0a0]
  │  │  │  │  └─ dependencies of libtiff displayed above
  │  │  │  ├─ libwebp-base 1.3.0 [required: >=1.3.0,<2.0a0]
  │  │  │  ├─ libxcb 1.13 [required: >=1.13,<1.14.0a0]
  │  │  │  │  ├─ pthread-stubs 0.4 [required: any]
  │  │  │  │  ├─ xorg-libxau 1.0.9 [required: any]
  │  │  │  │  └─ xorg-libxdmcp 1.1.3 [required: any]
  │  │  │  ├─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  ├─ openjpeg 2.5.0 [required: >=2.5.0,<3.0a0]
  │  │  │  │  ├─ libcxx 16.0.0 [required: >=14.0.6]
  │  │  │  │  ├─ libpng 1.6.39 [required: >=1.6.39,<1.7.0a0]
  │  │  │  │  │  └─ dependencies of libpng displayed above
  │  │  │  │  ├─ libtiff 4.5.0 [required: >=4.5.0,<4.6.0a0]
  │  │  │  │  │  └─ dependencies of libtiff displayed above
  │  │  │  │  └─ libzlib 1.2.13 [required: >=1.2.13,<1.3.0a0]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  ├─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  │  └─ tk 8.6.12 [required: >=8.6.12,<8.7.0a0]
  │  │  │     └─ dependencies of tk displayed above
  │  │  ├─ pyparsing 3.0.9 [required: >=2.3.1]
  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  └─ dependencies of python displayed above
  │  │  ├─ python-dateutil 2.8.2 [required: >=2.7]
  │  │  │  └─ dependencies of python-dateutil displayed above
  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  ├─ numpy 1.24.2 [required: any]
  │  │  └─ dependencies of numpy displayed above
  │  ├─ pandas 2.0.0 [required: any]
  │  │  └─ dependencies of pandas displayed above
  │  ├─ pyprind 2.11.2 [required: any]
  │  │  └─ dependencies of pyprind displayed above
  │  ├─ python 3.11.3 [required: >=3.4]
  │  │  └─ dependencies of python displayed above
  │  ├─ requests 2.28.2 [required: any]
  │  │  └─ dependencies of requests displayed above
  │  ├─ scipy 1.10.1 [required: any]
  │  │  └─ dependencies of scipy displayed above
  │  ├─ stats_arrays 0.6.5 [required: any]
  │  │  └─ dependencies of stats_arrays displayed above
  │  └─ tabulate 0.9.0 [required: any]
  │     └─ python 3.11.3 [required: >=3.7]
  │        └─ dependencies of python displayed above
  ├─ bw2calc 2.0.dev12 [required: >=2.0.dev12]
  │  └─ dependencies of bw2calc displayed above
  ├─ bw2data 4.0.dev18 [required: >=4.0.dev18]
  │  └─ dependencies of bw2data displayed above
  ├─ bw2io 0.9.dev14 [required: >=0.9.dev10]
  │  ├─ astunparse 1.6.3 [required: >=1.6.1]
  │  │  └─ dependencies of astunparse displayed above
  │  ├─ bw2calc 2.0.dev12 [required: >=2.0.dev12]
  │  │  └─ dependencies of bw2calc displayed above
  │  ├─ bw2data 4.0.dev18 [required: >=4.0.dev17]
  │  │  └─ dependencies of bw2data displayed above
  │  ├─ bw_migrations 0.2 [required: any]
  │  │  ├─ bw2data 4.0.dev18 [required: any]
  │  │  │  └─ dependencies of bw2data displayed above
  │  │  ├─ pandas 2.0.0 [required: any]
  │  │  │  └─ dependencies of pandas displayed above
  │  │  ├─ python 3.11.3 [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.2 [required: any]
  │  │  └─ dependencies of bw_processing displayed above
  │  ├─ lxml 4.9.2 [required: any]
  │  │  └─ dependencies of lxml displayed above
  │  ├─ mrio_common_metadata 0.2.1 [required: any]
  │  │  ├─ openpyxl 3.1.1 [required: any]
  │  │  │  ├─ et_xmlfile 1.1.0 [required: any]
  │  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │  │     └─ dependencies of python displayed above
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  │  │  ├─ pandas 2.0.0 [required: any]
  │  │  │  └─ dependencies of pandas displayed above
  │  │  ├─ python 3.11.3 [required: >=3.6]
  │  │  │  └─ dependencies of python displayed above
  │  │  ├─ pyxlsb 1.0.10 [required: any]
  │  │  │  └─ python 3.11.3 [required: >=3.6]
  │  │  │     └─ dependencies of python displayed above
  │  │  ├─ scipy 1.10.1 [required: any]
  │  │  │  └─ dependencies of scipy displayed above
  │  │  └─ xlrd 2.0.1 [required: any]
  │  │     └─ python 3.11.3 [required: >=3.6]
  │  │        └─ dependencies of python displayed above
  │  ├─ numpy 1.24.2 [required: >=1.20]
  │  │  └─ dependencies of numpy displayed above
  │  ├─ openpyxl 3.1.1 [required: any]
  │  │  └─ dependencies of openpyxl displayed above
  │  ├─ psutil 5.9.4 [required: any]
  │  │  └─ dependencies of psutil displayed above
  │  ├─ pyprind 2.11.2 [required: any]
  │  │  └─ dependencies of pyprind displayed above
  │  ├─ python 3.11.3 [required: >=3.9]
  │  │  └─ dependencies of python displayed above
  │  ├─ scipy 1.10.1 [required: any]
  │  │  └─ dependencies of scipy displayed above
  │  ├─ stats_arrays 0.6.5 [required: >=0.6.5]
  │  │  └─ dependencies of stats_arrays displayed above
  │  ├─ tqdm 4.65.0 [required: any]
  │  │  └─ dependencies of tqdm displayed above
  │  ├─ unidecode 1.3.6 [required: any]
  │  │  └─ python 3.11.3 [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.0.9 [required: any]
  │     └─ python 3.11.3 [required: >=3.6]
  │        └─ dependencies of python displayed above
  ├─ bw_migrations 0.2 [required: any]
  │  └─ dependencies of bw_migrations displayed above
  ├─ bw_processing 0.8.2 [required: >=0.8.2]
  │  └─ dependencies of bw_processing displayed above
  ├─ matrix_utils 0.2.5 [required: >=0.2.5]
  │  └─ dependencies of matrix_utils displayed above
  ├─ mrio_common_metadata 0.2.1 [required: any]
  │  └─ dependencies of mrio_common_metadata displayed above
  ├─ numpy 1.24.2 [required: any]
  │  └─ dependencies of numpy displayed above
  ├─ python 3.11.3 [required: >=3.9]
  │  └─ dependencies of python displayed above
  └─ stats_arrays 0.6.5 [required: >=0.6.5]
     └─ dependencies of stats_arrays displayed above

Work Plan

System level packages (WASM incompatible)

  • psutil: make optional (potentially catch errors in functions that call the package)
  • fasteners: remove (as per discussions with @cmutel)
  • pyprind: replace with tqdm

Deprecated packages

  • appdirs: replace with platformdirs

Binary packages

@michaelweinold michaelweinold added the enhancement New feature or request label Apr 7, 2023
@michaelweinold michaelweinold transferred this issue from brightway-lca/brightway-book May 28, 2023
@michaelweinold
Copy link
Collaborator Author

michaelweinold commented Jun 19, 2023

@michaelweinold
Copy link
Collaborator Author

michaelweinold commented Jun 19, 2023

dev19 of bw2io still requires psutil, @cmutel:

conda search --info -c cmutel bw2io 
bw2io 0.9.dev19 py_0
--------------------
file name   : bw2io-0.9.dev19-py_0.tar.bz2
name        : bw2io
version     : 0.9.dev19
build       : py_0
build number: 0
size        : 26.6 MB
license     : BSD 3-Clause
subdir      : noarch
url         : https://conda.anaconda.org/cmutel/noarch/bw2io-0.9.dev19-py_0.tar.bz2
md5         : 82eacd51972eef03383220841dbd9e7d
timestamp   : 2023-06-08 21:08:46 UTC
dependencies: 
  - astunparse >=1.6.1
  - bw2calc >=2.0.dev12
  - bw2data >=4.0.dev19
  - bw_migrations
  - bw_processing
  - lxml
  - mrio_common_metadata
  - numpy >=1.20
  - openpyxl
  - platformdirs
  - psutil
  - pyprind
  - python >=3.9
  - scipy
  - stats_arrays >=0.6.5
  - tqdm
  - unidecode
  - voluptuous
  - xlrd
  - xlsxwriter

A conda-tree deptree investigation yields (only psutil-related branches shown):

bw2io==0.9.dev19
  │
  ...
  │
  ├─ bw2data 4.0.dev19 [required: >=4.0.dev19]
  │  ├─ pyprind 2.11.2 [required: >=2.11]
  │  │  ├─ psutil 5.9.5 [required: >=3.2.0]
  │  │  │  ├─ python 3.11.3 [required: >=3.11,<3.12.0a0, *_cpython]
  │  │  │  │  └─ dependencies of python displayed above
  │  │  │  └─ python_abi 3.11 [required: 3.11.*, *_cp311]
  ├─ psutil 5.9.5 [required: any]
  │  └─ dependencies of psutil displayed above
  ...

It seems therefore that we still need to:

@cmutel
Copy link
Member

cmutel commented Aug 12, 2023

This should be fixed now with new releases of bw2analyzer, bw2data, and bw2io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants