Comments (4)
This seems like a sane approach
from layer-basic.
@johnsca So in this case the wheelhouse.txt files do not overwrite other layers? These text files are combined arbitrarily where other files with the same name are overwritten.
from layer-basic.
@mbruzek wheelhouse.txt
files do not override that of other layers under the assumption that a given layer knows what its dependencies are and those shouldn't be mucked about by other layers. You can think of it as they are merged by appending according to the usual rules but then the resultant combined wheelhouse.txt
is not kept around.
I can see where this may cause problems down the road if two layers try to pull in different versions of the same lib. I'm not sure how best to handle this.
from layer-basic.
@johnsca it seems we'd need to built a merge tactic for wheelhouse.txt
where we either always use the lowest (or highest) version, add a way to
delete keys from wheelhouse.txt, or error the build if there are two
versions of an entry that conflict in wheelhouse.txt
On Fri, Apr 15, 2016 at 5:01 PM Cory Johns [email protected] wrote:
@mbruzek https://github.com/mbruzek wheelhouse.txt files do not
override that of other layers under the assumption that a given layer knows
what its dependencies are and those shouldn't be mucked about by other
layers. You can think of it as they are merged by appending according to
the usual rules but then the resultant combined wheelhouse.txt is not
kept around.I can see where this may cause problems down the road if two layers try to
pull in different versions of the same lib. I'm not sure how best to handle
this.—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#55 (comment)
from layer-basic.
Related Issues (20)
- "charm build" broken by update to netaddr HOT 1
- Upgrades to focal with python3-setuptools-scm install break charm venv setup HOT 1
- Charm Dependency Checks during install hook fail when pip3 has git revision package HOT 4
- ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' HOT 1
- Upgrade flag file created too early
- Disabling trace logs HOT 8
- Cannot uninstall PyYAML. It is a distutils installed project HOT 5
- layer-basic fails to install wheelhouse on hirsute due to pip 21 dependency resolution HOT 2
- OSM: Installing a proxy charm container fails, due to Python dependency issue HOT 3
- During Gnocchi charm upgrade, layer-basic failed to upgrade packages HOT 1
- Bootstrap fails with current pinset HOT 2
- [CIS L1] tmpfs hardening HOT 3
- How to include from pypi HOT 3
- Charm cannot build-on 20.04 because of No module named 'markupsafe' HOT 3
- Focal issues: "ModuleNotFoundError: No module named 'markupsafe'" and "AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'" HOT 3
- python3-dev dependency issue
- New installs from master charm branch builds missing flit_scm wheel and need anyio pinning
- ModuleNotFoundError: No module named 'pkg_resources' after series upgrade to jammy HOT 7
- sniffio breakage on Focal with python 3.8.10 HOT 18
- Charms fail install hook if `python3-setuptools > 60` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from layer-basic.