cookbook 'pyenv', '= 4.2.1'
pyenv
(30) Versions
4.2.1
-
Follow4
Manages pyenv and its installed Python versions.
cookbook 'pyenv', '= 4.2.1', :supermarket
knife supermarket install pyenv
knife supermarket download pyenv
pyenv Chef Cookbook
Description
Manages pyenv and its installed Pythons.
Chef
This cookbook requires Chef 15.3+.
Platform family
- Debian derivatives (debian, ubuntu)
- Fedora
- RHEL derivatives (RHEL, CentOS, Amazon Linux, Oracle, Scientific Linux)
- openSUSE and openSUSE leap
Usage
Examples installations are provided in test/fixtures/cookbooks/test/recipes
A pyenv_install
is required to be set so that pyenv knows which version you want to use, and is installed on the system.
Resources
- [pyenv_global](documentation/pyenv_global.md)
- [pyenv_install](documentation/pyenv_install.md)
- [pyenv_pip](documentation/pyenv_pip.md)
- [pyenv_plugin](documentation/pyenv_plugin.md)
- [pyenv_python](documentation/pyenv_python.md)
- [pyenv_rehash](documentation/pyenv_rehash.md)
- [pyenv_script](documentation/pyenv_script.md)
System-Wide Mac Installation Note
This cookbook takes advantage of managing profile fragments in an
/etc/profile.d
directory, common on most Unix-flavored platforms.
Unfortunately, Mac OS X does not support this idiom out of the box,
so you may need to [modify][mac_profile_d] your user profile.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
pyenv Changelog
4.2.1 - 2023-02-02
- Update
templates/pyenv.sh
script to properly evaluate when to add a user install to$PATH
4.2.0 - 2022-09-26
- Add support for ubuntu >= 22.04 and debian >= 11
4.1.0 - 2022-07-20
- Remove duplicate pyenv init from profile script, fixes "pyenv: cannot rehash: <...>/shims isn't writable" for system install
4.0.1 - 2022-02-08
- Remove delivery folder
4.0.0 - 2021-12-20
- Set unified_mode for Chef 17 support
- Require Chef 15.3 for unified_mode
- Fix pyenv not being on the path properly
- resolved cookstyle error: resources/global.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/pip.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/plugin.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/python.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/rehash.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/script.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/system_install.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
- resolved cookstyle error: resources/user_install.rb:1:1 refactor:
Chef/Deprecations/ResourceWithoutUnifiedTrue
-
Removed the pyenv_system_install and pyenv_user_install resources for a singular pyenv_install.
- This resource acts like all other resources where it can install both as a user and system wide. Please see the documentation for further information.
3.5.1 - 2021-08-30
- Standardise files with files in sous-chefs/repo-management
3.5.0 - 2021-07-22
- Add support for setting umask for pip resource.
3.4.2 - 2021-06-01
- Standardise files with files in sous-chefs/repo-management
3.4.1 - 2020-12-31
- resolved cookstyle error: resources/pip.rb:153:1 convention:
Layout/TrailingEmptyLines
3.4.0 (2020-11-05)
- Add
:upgrade
action to the pyenv_pip resource
3.3.2 (2020-08-05)
- Do not attempt to rehash in a system-wide install
- Removed testing support for centos-6. Python 3.7.1 requires a newer version of openssl than centos-6 supplies.
- Removed testing support for debian-8. Debian-8 is no longer supported. Also has issues with the level of openssl that is available.
3.3.1
- Namespace the run_state variables used in the resources
3.3.0
- Chef 16 removed defaults for checkout_branch from the git resource, restore them to the previous default 'deploy'
3.2.0
- resolved cookstyle error: resources/pip.rb:107:7 convention:
Style/RedundantReturn
- resolved cookstyle error: resources/pip.rb:110:7 convention:
Style/RedundantReturn
- Migrate to actions for builds
- Fix broken link in README
- Follow up tweaks after ownership migration
3.1.1
- Migrated ownership to Sous-Chefs
- Latest cookstyle fixes (5.9.3)
3.1.0
- invoke
pip install
only necessary #34
3.0.0
- deprecate support for Chef 13 due to EOL
- update cookbook to use
apt_update
andbuild_essential
resources from Chef 14 make sure builds don't failed because of lack of packages
2.1.0
- add support for virtualenv installation and uninstallation.
- add support for passing environment variable during pyenv, python and plugin installation.
- delete "reinstall" property from pip resource and replace it with general "options" property
- make pyenv_script fail on any subcommand failure
Thanks to @ssps!
2.0.0
- Dropping support for Chef 12
1.0.0 (BREAKING CHANGES!!)
- Refactor and update the legacy code base. Recipes are no longer provided, and custom resources are used to manage pyenv installations instead.
- update
system_install
to be a resource - update
user_install
to be a resource - update
script
resource - update
python
resource - update
global
resource - update
rehash
resource - create
plugin
resource - create
pip
resource - update integration tests
- add linting to CI
- delete all recipes
- delete matchers
- delete
chef_pyenv_recipe_helpers
library - delete
chef_pyenv_mixin
library - add support for Fedora, RedHat distros and OpenSUSE
0.2.0
- Add oracle linux support
- Update syntax for chef-client v13
- Update gems and dependencies
- Add integration tests on travis
0.1.4
- Updated deprecated methods used in attributes.rb
0.1.0
- Update default pyenv version to v0.4.0-20140516
- Add support for CentOS 6.5
- Install
make
,build-essential
,libssl-dev
,zlib1g-dev
,wget
,curl
, andllvm
on Debian machines
0.0.1
- Initial port of chef-rbenv
Collaborator Number Metric
4.2.1 passed this metric
Contributing File Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
4.2.1 passed this metric
No Binaries Metric
4.2.1 passed this metric
Testing File Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.2.1 passed this metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
4.2.1 passed this metric
No Binaries Metric
4.2.1 passed this metric
Testing File Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.2.1 passed this metric
4.2.1 passed this metric
Testing File Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
4.2.1 failed this metric
4.2.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number