Comments (3)
interesting...
- dbt-core is just a dependency of their other "entrypoints" I.E. dbt-postgres https://docs.getdbt.com/dbt-cli/install/pip.
- I will give this a try on my end when I have a moment
from asdf-pyapp.
Hi @jtzero - thanks for the feature request.
I'm not too familiar with dbt / dbt-snowflake. What is the "normal" way to install it? Does it work with pipx?
This plugin uses pipx under the hood, so if it works with pipx, but not with this plugin, I'd consider it a bug.
I'm interested in supporting it if we can though!
from asdf-pyapp.
dug into this a little.
Installing dbt
via pipx yields this:
❯ pipx install dbt
Note: Dependent package 'dbt-core' contains 1 apps
- dbt
Note: Dependent package 'sqlparse' contains 1 apps
- sqlformat
Note: Dependent package 'chardet' contains 1 apps
- chardetect
Note: Dependent package 'babel' contains 1 apps
- pybabel
Note: Dependent package 'python-slugify' contains 1 apps
- slugify
Note: Dependent package 'jsonschema' contains 1 apps
- jsonschema
Note: Dependent package 'jmespath' contains 1 apps
- jp.py
Note: Dependent package 'docutils' contains 12 apps
- rst2html.py
- rst2html4.py
- rst2html5.py
- rst2latex.py
- rst2man.py
- rst2odt.py
- rst2odt_prepstyles.py
- rst2pseudoxml.py
- rst2s5.py
- rst2xetex.py
- rst2xml.py
- rstpep2html.py
Note: Dependent package 'snowflake-connector-python' contains 4 apps
- snowflake-dump-certs
- snowflake-dump-ocsp-response
- snowflake-dump-ocsp-response-cache
- snowflake-export-certs
Note: Dependent package 'pyjwt' contains 1 apps
- pyjwt
Note: Dependent package 'keyring' contains 1 apps
- keyring
Note: Dependent package 'rsa' contains 6 apps
- pyrsa-decrypt
- pyrsa-encrypt
- pyrsa-keygen
- pyrsa-priv2pub
- pyrsa-sign
- pyrsa-verify
No apps associated with package dbt. Try again with '--include-deps' to
include apps of dependent packages, which are listed above. If you are
attempting to install a library, pipx should not be used. Consider using pip
or a similar tool instead."
Next I tried installing dbt-core:
❯ pipx install dbt-core
installed package dbt-core 1.0.0, Python 3.10.0
These apps are now globally available
- dbt
⚠️ Note: '/Users/amrox/.local/bin' is not on your PATH environment variable. These apps will
not be globally accessible until your PATH is updated. Run `pipx ensurepath` to
automatically add it, or manually modify your PATH in your shell's config file (i.e.
~/.bashrc).
done! ✨ 🌟 ✨
And it worked!
Finally:
❯ asdf plugin add dbt-core https://github.com/amrox/asdf-pyapp.git
❯ asdf install dbt-core 1.0.0
❯ ls ~/.asdf/installs/dbt-core/1.0.0/bin
dbt
So there are a couple ways forward:
-
Add support for
--include-deps
in asdf-pyapp (probably should be optional somehow). -
Install
dbt-core
- but I'm not sure this has all the dependencies you need.
from asdf-pyapp.
Related Issues (15)
- Figure out how to get lint action working HOT 1
- ansible-base seems not working HOT 7
- list-all ansible-base contains invalid output HOT 6
- [Information] Working with aws-ssm-tools and yawsso HOT 1
- `black latest` is not working HOT 2
- Can I switch between ansible-base and ansible-core? HOT 2
- asdf-pyapp fails when pip version string not in major.minor.patch format
- Equivalent of `pipx inject` for asdf-pyapp?
- No versions listed after `2.10` But upstream is at `2.14` HOT 3
- `pipx` installed via `pyapp` complains `pip` isn't found HOT 1
- migrate/integrate integration test suite into Github actions
- Ansible not compatible with its ecosystem HOT 2
- Expected executables are not available when installing Ansible
- Installation of semgrep - error
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 asdf-pyapp.