Comments (3)
from features.
I think this is a bug, There's no way to choose any version at all.
When using VERSION to control the version of package='ansible-core'
this is correct, the problem is injections='ansible'
, which overrides ansible-core to the latest
vscode ➜ /workspaces/code $ pipx install ansible-core==2.15.5
installed package ansible-core 2.15.5, installed using Python 3.9.2
These apps are now globally available
- ansible
- ansible-config
- ansible-connection
- ansible-console
- ansible-doc
- ansible-galaxy
- ansible-inventory
- ansible-playbook
- ansible-pull
- ansible-test
- ansible-vault
done! ✨ 🌟 ✨
vscode ➜ /workspaces/code $ ls -l /usr/local/py-utils/venvs/ansible-core/lib/python3.9/site-packages/
total 1052
drwxr-sr-x 20 vscode pipx 4096 Apr 30 08:51 ansible
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 ansible_core-2.15.5.dist-info
drwxr-sr-x 7 vscode pipx 4096 Apr 30 08:51 ansible_test
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 cffi
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 cffi-1.16.0.dist-info
-rwxr-xr-x 1 vscode pipx 979456 Apr 30 08:51 _cffi_backend.cpython-39-x86_64-linux-gnu.so
drwxr-sr-x 5 vscode pipx 4096 Apr 30 08:51 cryptography
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 cryptography-42.0.5.dist-info
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 importlib_resources
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 importlib_resources-5.0.7.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 jinja2
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 Jinja2-3.1.3.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 markupsafe
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 MarkupSafe-2.1.5.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 packaging
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 packaging-24.0.dist-info
-rw-r--r-- 1 vscode pipx 55 Apr 30 08:51 pipx_shared.pth
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 pycparser
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 pycparser-2.22.dist-info
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 PyYAML-6.0.1.dist-info
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 resolvelib
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 resolvelib-1.0.1.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 _yaml
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 yaml
vscode ➜ /workspaces/code $ pipx inject --verbose ansible-core ansible
pipx >(setup:924): pipx version is 1.5.0
pipx >(setup:925): Default python interpreter is '/usr/local/py-utils/venvs/pipx/bin/python'
pipx >(run_pipx_command:197): Virtual Environment location is /usr/local/py-utils/venvs/ansible-core
pipx >(run_subprocess:174): running <checking pip's availability>
pipx >(needs_upgrade:83): Time since last upgrade of shared libs, in seconds: 1014. Upgrade will be run by pipx if greater than 2592000.
pipx >(run_subprocess:174): running <checking pip's availability>
pipx >(package_name_from_spec:379): Determined package name: ansible
pipx >(package_name_from_spec:380): Package name determined in 0.0s
pipx >(_parsed_package_to_package_or_url:137): cleaned package spec: ansible
installing ansible...
pipx >(run_subprocess:174): running /usr/local/py-utils/venvs/ansible-core/bin/python -m pip --no-input install ansible
pipx >(run_subprocess:174): running <fetch_info_in_venv commands>
pipx >(get_venv_metadata_for_package:348): get_venv_metadata_for_package: 502ms
pipx >(_parsed_package_to_package_or_url:137): cleaned package spec: ansible
injected package ansible into venv ansible-core
done! ✨ 🌟 ✨
vscode ➜ /workspaces/code $ ls -l /usr/local/py-utils/venvs/ansible-core/lib/python3.9/site-packages/
total 1060
drwxr-sr-x 20 vscode pipx 4096 Apr 30 08:51 ansible
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:52 ansible-8.7.0.dist-info
drwxr-sr-x 51 vscode pipx 4096 Apr 30 08:51 ansible_collections
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 ansible_core-2.15.11.dist-info
drwxr-sr-x 7 vscode pipx 4096 Apr 30 08:51 ansible_test
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 cffi
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 cffi-1.16.0.dist-info
-rwxr-xr-x 1 vscode pipx 979456 Apr 30 08:51 _cffi_backend.cpython-39-x86_64-linux-gnu.so
drwxr-sr-x 5 vscode pipx 4096 Apr 30 08:51 cryptography
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 cryptography-42.0.5.dist-info
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 importlib_resources
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 importlib_resources-5.0.7.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 jinja2
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 Jinja2-3.1.3.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 markupsafe
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 MarkupSafe-2.1.5.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 packaging
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 packaging-24.0.dist-info
-rw-r--r-- 1 vscode pipx 55 Apr 30 08:51 pipx_shared.pth
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 pycparser
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 pycparser-2.22.dist-info
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 PyYAML-6.0.1.dist-info
drwxr-sr-x 4 vscode pipx 4096 Apr 30 08:51 resolvelib
drwxr-sr-x 2 vscode pipx 4096 Apr 30 08:51 resolvelib-1.0.1.dist-info
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 _yaml
drwxr-sr-x 3 vscode pipx 4096 Apr 30 08:51 yaml
vscode ➜ /workspaces/code $
from features.
Checked again, the features install both ansible-core
and ansible
so the reported issue is not valid and misleading. Will close this issue because of this.
@xiaoyao9184 I checked your issue in my setup and the ansible-core
is only upgraded to the latest patch (minor version). I think this is a minor issue since it's not upgraded to a major version, which may break things unexpected. I think you can convert your comment to a bug issue since it's not in the scope of this
from features.
Related Issues (20)
- Where are default MYSQL credentials? HOT 1
- [Bug]: gh-release multiple binary matches were found in archive HOT 2
- [Bug]: `clojure-asdf` does not set JAVA_HOME
- [Bug]: `clojure-asdf` does not install rlwrap, so `clj` fails
- [Feature Request]: Mkdocs Enhancement
- Heroku CLI tar download URL HOT 1
- [Bug]: [syncthing]: command not found
- [Bug]: HOT 1
- [Bug]: Failed to build ansible feature HOT 1
- TypeORM cli
- [Feature Request]: Specify pipx version
- [Feature Request]:
- [Bug]: terraform init bash: terraform: command not foun
- [Feature Request]: Google Cloud CLI
- [Feature Request]: AQUA
- [Bug]: nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError: Too many matches found: ['trivy_0.53.0_Linux-64bit.tar.gz', 'trivy_0.53.0_Linux-ARM.tar.gz'] HOT 1
- [Bug]: mkdocs installation of configured plugins crashes
- [Bug]: Starship not working - Exec format error
- [Bug]: age feature failed to build
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 features.