cookbook 'snu_python', '~> 1.2.5'
The snu_python cookbook has been deprecated
Author provided reason for deprecation:
The snu_python cookbook has been deprecated and is no longer being maintained by its authors. Use of the snu_python cookbook is no longer recommended.
snu_python (16) Versions 1.2.5 Follow0
Installs/configures snu_python
cookbook 'snu_python', '~> 1.2.5', :supermarket
knife supermarket install snu_python
knife supermarket download snu_python
Snu Python Cookbook README
A cookbook to perform an opinionated installation of Python using poise-python.
Requirements
This cookbook is continously tested against a matrix of Chef versions and platforms. For the full list, see the output of chef exec microwave list
.
Additional platform support may be added in the future, but Python in RHEL-land seems to get real scary real fast.
Usage
Add the default recipe to your node's run list and/or declare instances of the included resources in a recipe of your own.
Recipes
default
Installs Python 2 and 3 and some default packages using the snu_python
resource
Attributes
N/A
Resources
snu_python
A wrapper around the python_runtime
resource to install both Python 2 and 3 as well as any supporting packages (e.g. the python3 package that manages /usr/local/bin/python3
on Debian platforms) and some default packages from PIP.
Syntax:
snu_python 'default' do python3_packages %w[requests] python2_packages %w[requests] action :install end
Actions:
Action | Description |
---|---|
:install |
Install Python 2 and 3 and friends |
:upgrade |
Upgrade Python 2 and 3 and friends |
:remove |
Uninstall Python 2 and 3 and all installed packages |
Properties:
Property | Default | Description |
---|---|---|
python3_packages | %w[requests] | Packages to install under Python 3 |
python2_packages | %w[requests] | Packages to install under Python 2 |
action | :install |
The action to perform |
Maintainers
- Jonathan Hartman jonathan.hartman@socrata.com
Snu Python Cookbook CHANGELOG
This file is used to list changes made in each version of the snu_python cookbook.
1.2.5 (2020-02-11)
- Patch in support for pip@20.0.2
- Refactor and clean up monkeypatch
1.2.4 (2019-10-14)
- Pin Pip @
19.1.1
1.2.3 (2019-07-23)
- Patch in support for Pip 19.2
1.2.2 (2019-07-10)
- Make forward-compatible with Python 3.7+ platforms
1.2.1 (2019-07-08)
- Resolve build failures
1.2.0 (2019-06-10)
- Monkeypatch poise-python into working with Python 2.7.15+
1.1.4 (2019-05-29)
- Pin TravisCI to Chef-DK 3.x
1.1.3 (2019-01-25)
- Convert to the new ChefSpec syntax
1.1.2 (2019-01-23)
- Remove the deprecated/deleted process_dependency_links option
1.1.1 (2019-01-21)
- Remove 'rvm: system' from the TravisCI config
1.1.0 (2018-10-22)
- Monkeypatch in Ubuntu 18.04 and pip 18.1 support
1.0.1 (2018-10-08)
- Temporarily pin pip to 18.0
1.0.0 (2018-07-11)
- Delete all custom resources except snu_python
- Remove awscli from the default Python 2 packages
0.2.1 (2018-08-03)
- Fix the failing integration tests for pip
0.2.0 (2018-05-31)
- Add a snu_python_virtualenv resource
0.1.0 (2018-05-25)
- Initial release!
0.0.1 (2018-04-21)
- Development started
Collaborator Number Metric
1.2.5 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.5 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
Foodcritic Metric
1.2.5 passed this metric
No Binaries Metric
1.2.5 passed this metric
Testing File Metric
1.2.5 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
1.2.5 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
1.2.5 failed this metric
1.2.5 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
Foodcritic Metric
1.2.5 passed this metric
No Binaries Metric
1.2.5 passed this metric
Testing File Metric
1.2.5 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
1.2.5 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
1.2.5 passed this metric
1.2.5 passed this metric
Testing File Metric
1.2.5 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
1.2.5 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
1.2.5 failed this metric
1.2.5 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