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

pip check: openvino 2024.0.0 requires openvino-telementry, which is not installed #169528

Open
3 tasks done
jaraco opened this issue Apr 19, 2024 · 1 comment
Open
3 tasks done
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@jaraco
Copy link

jaraco commented Apr 19, 2024

brew doctor output

draft @ brew doctor
Your system is ready to brew.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 4.2.18
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9edabf02ce29e54d0b717baa757cff38ad0c0e25
Last commit: 5 days ago
Core tap JSON: 19 Apr 11:13 UTC
Core cask tap JSON: 19 Apr 11:13 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: subl --wait
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: dodeca-core 64-bit arm_lobos
Clang: 15.0.0 build 1500
Git: 2.44.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
Rosetta 2: false

What were you trying to do (and why)?

I'd like to be able to execute pip commands without an error about unmet dependencies. Sometime in the past week, the error started being emitted when running pip install commands.

What happened (include all command output)?

After installing ffmpeg, pip for Python 3.12 emits an error (but continues). The error is readily seen when running pip check:

 @ pip check
openvino 2024.0.0 requires openvino-telemetry, which is not installed.

Running a pip install command also emits the error. I run into the error when using pip-run:

 @ pip install -t out 'ini2toml[full]'
Collecting ini2toml[full]
  Using cached ini2toml-0.13-py3-none-any.whl.metadata (6.6 kB)
Collecting packaging>=20.7 (from ini2toml[full])
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting setuptools>=59.6 (from ini2toml[full])
  Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting configupdater<4,>=3.0.1 (from ini2toml[full])
  Using cached ConfigUpdater-3.2-py2.py3-none-any.whl.metadata (10 kB)
Collecting tomlkit<2,>=0.10.0 (from ini2toml[full])
  Using cached tomlkit-0.12.4-py3-none-any.whl.metadata (2.7 kB)
Using cached ConfigUpdater-3.2-py2.py3-none-any.whl (34 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached setuptools-69.5.1-py3-none-any.whl (894 kB)
Using cached tomlkit-0.12.4-py3-none-any.whl (37 kB)
Using cached ini2toml-0.13-py3-none-any.whl (52 kB)
Installing collected packages: tomlkit, setuptools, packaging, configupdater, ini2toml
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
openvino 2024.0.0 requires openvino-telemetry>=2023.2.1, which is not installed.
Successfully installed configupdater-3.2 ini2toml-0.13 packaging-24.0 setuptools-69.5.1 tomlkit-0.12.4

Note the issue doesn't occur for a a simpler dependency:

 @ pip install example-project -t out
Collecting example-project
  Using cached Example_Project-0.2.1-py3-none-any.whl.metadata (1.6 kB)
Using cached Example_Project-0.2.1-py3-none-any.whl (3.6 kB)
Installing collected packages: example-project
Successfully installed example-project-0.2.1

There's something about ini2toml that triggers the error.

Oh, it might be the packaging dependency:

 @ pip install packaging -t out
Collecting packaging
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Installing collected packages: packaging
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
openvino 2024.0.0 requires openvino-telemetry>=2023.2.1, which is not installed.
Successfully installed packaging-24.0

The error goes away if I uninstall openvino (and thus tbb and ffmpeg).

What did you expect to happen?

The error should not be emitted. Also, ideally, openvino wouldn't be installed in system packages.

Step-by-step reproduction instructions (by running brew commands)

brew install ffmpeg
pip install packaging -t /tmp/packaging
@jaraco jaraco added the bug Reproducible Homebrew/homebrew-core bug label Apr 19, 2024
@MikeMcQuaid MikeMcQuaid transferred this issue from Homebrew/brew Apr 19, 2024
@ilya-lavrenov
Copy link
Sponsor Contributor

PR #168326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

2 participants