aristanetworks / aristanetworks/cloudvision-python

Potential issue with package overlap

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Installing `cloudvision` library also installs `fmp` and `arista` packages into the python site-packages.

There are existing pypi packages called `fmp` ([released April 2022](https://pypi.org/project/fmp)) and `arista` ([released April 2009](https://pypi.org/project/arista))

Installing either of these packages **_after_** installation of `cloudvision` will at the very least overwrite the `__init__.py` files written by `cloudvision`, causing some issues with imports in cloudvision that import code from these, though they can still be imported with absolute paths. Future releases of the packages may have file conflicts, which would overwrite the content added by `cloudvision`, and completely break package code using the imports.

See aristanetworks/cloudvision-python/issues/7 for further details
A solution to this issue is being actively worked on by the Arista team

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading aristanetworks/cloudvision-python/issues/7 and inspect how the cloudvision distribution installs the fmp and arista packages. Confirm the conflicting package paths and define completion as installing cloudvision alongside the existing PyPI packages without overwriting their files or breaking cloudvision imports.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.