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

Dependency Resolution Issues (legacy Packages psutil, etc.) #15

Closed
michaelweinold opened this issue Jun 6, 2023 · 3 comments
Closed
Assignees

Comments

@michaelweinold
Copy link
Collaborator

The build currently fails with:

  - nothing provides psutil needed by bw2io-0.9.dev18-py_0

even though the legacy dependency psutil has been removed from bw2io. The lastest version has been added to the cmutel channel on Anaconda.

@michaelweinold
Copy link
Collaborator Author

michaelweinold commented Jun 7, 2023

psutil is still included as a dependency in bw2io on the cmutel channel:

conda search --info -c cmutel bw2io 
bw2io 0.9.dev18 py_0
--------------------
file name   : bw2io-0.9.dev18-py_0.tar.bz2
name        : bw2io
version     : 0.9.dev18
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.dev18-py_0.tar.bz2
md5         : 489294ae9df28030aae74eaa16c1b8e9
timestamp   : 2023-06-06 11:11:02 UTC
dependencies: 
  - astunparse >=1.6.1
  - bw2calc >=2.0.dev12
  - bw2data >=4.0.dev17
  - 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

michaelweinold added a commit that referenced this issue Jun 10, 2023
@michaelweinold
Copy link
Collaborator Author

dev19 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:

@michaelweinold
Copy link
Collaborator Author

Transferring this to #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants