mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-08 11:33:49 -05:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4812e0387b | ||
|
|
334e413722 | ||
|
|
2f1fb3a6e1 | ||
|
|
d48a954c6c | ||
|
|
d08c9cfb36 | ||
|
|
43235c2716 | ||
|
|
cbf3983ac5 | ||
|
|
9c1d677d23 | ||
|
|
eee72eecdf | ||
|
|
09494e3943 | ||
|
|
8eeddaebc1 | ||
|
|
dad0fc708a | ||
|
|
a2d51328ee |
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -3,9 +3,9 @@ Make sure you have checked all steps below.
|
||||
### Prerequisite
|
||||
* [ ] Please consider implementing the feature as a hook script or plugin as a first step.
|
||||
* pyenv has some powerful support for plugins and hook scripts. Please refer to [Authoring plugins](https://github.com/pyenv/pyenv/wiki/Authoring-plugins) for details and try to implement it as a plugin if possible.
|
||||
* [ ] Please consider contributing the patch upstream to [rbenv](https://github.com/rbenv/rbenv), since we have borrowed most of the code from this project.
|
||||
* We are occasionally importing the changes from rbenv. In general, you can expect some changes made in rbenv will be imported to pyenv too, eventually.
|
||||
* Generally speaking, we sometimes don't prefer to make some change in the core to keep compatibility with rbenv.
|
||||
* [ ] Please consider contributing the patch upstream to [rbenv](https://github.com/rbenv/rbenv), since we have borrowed most of the code from that project.
|
||||
* We occasionally import the changes from rbenv. In general, you can expect changes made in rbenv will be imported to pyenv too, eventually.
|
||||
* Generally speaking, we prefer not to make changes in the core in order to keep compatibility with rbenv.
|
||||
* [ ] My PR addresses the following pyenv issue (if any)
|
||||
- https://github.com/pyenv/pyenv/issues/XXXX
|
||||
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
## Version History
|
||||
|
||||
## 1.2.5
|
||||
|
||||
* python-build: Add CPython 3.7.0 (#1177)
|
||||
* python-build: Add micropython 1.9.4 (#1160)
|
||||
* python-build: Add anaconda[23]-5.2.0 (#1165)
|
||||
* pyenv: Fix `seq(1)` is not available on OpenBSD (#1166)
|
||||
|
||||
## 1.2.4
|
||||
|
||||
* python-build: Add CPython 2.7.15
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
set -e
|
||||
[ -n "$PYENV_DEBUG" ] && set -x
|
||||
|
||||
version="1.2.4"
|
||||
version="1.2.5"
|
||||
git_revision=""
|
||||
|
||||
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then
|
||||
|
||||
@@ -40,7 +40,7 @@ if [ ! -w "$SHIM_PATH" ]; then
|
||||
fi
|
||||
|
||||
unset acquired
|
||||
for _ in $(seq "${PYENV_REHASH_TIMEOUT:-60}"); do
|
||||
for (( i=1; i<="${PYENV_REHASH_TIMEOUT:-60}"; i++ )); do
|
||||
if acquire_lock 2>/dev/null; then
|
||||
acquired=1
|
||||
break
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" mac_openssl --if has_broken_mac_openssl
|
||||
install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||
if has_tar_xz_support; then
|
||||
install_package "Python-3.5.5rc1" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5rc1.tar.xz#e30ca77929c859c25cd19afafa247c63d6046ec06a7f8fe6e316e6ed62781b3e" ldflags_dirs standard verify_py35 ensurepip
|
||||
install_package "Python-3.6.6rc1" "https://www.python.org/ftp/python/3.6.6/Python-3.6.6rc1.tar.xz#dcbf5a4b944c4d5ef367c0c413f28081e053d920e759d0e4b64418ea7280050c" ldflags_dirs standard verify_py37 ensurepip
|
||||
else
|
||||
install_package "Python-3.5.5rc1" "https://www.python.org/ftp/python/3.5.5/Python-3.5.5rc1.tgz#95182d74ba96bbed4db3f01fc0b9defcc90bf0acdf36c3713be4dc1d4056d4cc" ldflags_dirs standard verify_py35 ensurepip
|
||||
install_package "Python-3.6.6rc1" "https://www.python.org/ftp/python/3.6.6/Python-3.6.6rc1.tgz#93965e1781cf685a7a440b3fc9d4f4d36652a904249f38ad6bee2d5abea7d4a8" ldflags_dirs standard verify_py37 ensurepip
|
||||
fi
|
||||
@@ -2,7 +2,7 @@
|
||||
install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" mac_openssl --if has_broken_mac_openssl
|
||||
install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline
|
||||
if has_tar_xz_support; then
|
||||
install_package "Python-3.7.0b3" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0b3.tar.xz#2b152788486c61ee6c3e9feaeb4c3fe9679f0a76a19a4c82eb4c665989c340fb" ldflags_dirs standard verify_py37 ensurepip
|
||||
install_package "Python-3.7.0" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz#0382996d1ee6aafe59763426cf0139ffebe36984474d0ec4126dd1c40a8b3549" ldflags_dirs standard verify_py37 ensurepip
|
||||
else
|
||||
install_package "Python-3.7.0b3" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0b3.tgz#4ef8f7f1753451d79d2972f90928e8cc7bfce47e9a2afa14da5969321ddfb7d0" ldflags_dirs standard verify_py37 ensurepip
|
||||
install_package "Python-3.7.0" "https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz#85bb9feb6863e04fb1700b018d9d42d1caac178559ffa453d7e6a436e259fd0d" ldflags_dirs standard verify_py37 ensurepip
|
||||
fi
|
||||
19
plugins/python-build/share/python-build/anaconda2-5.2.0
Normal file
19
plugins/python-build/share/python-build/anaconda2-5.2.0
Normal file
@@ -0,0 +1,19 @@
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda2-5.2.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-5.2.0-Linux-x86.sh#402758c24767e9eb3b77312c388725a058f76e03316464797c3ca404e6eebc2c" "anaconda" verify_py27
|
||||
;;
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda2-5.2.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.2.0-Linux-x86_64.sh#cb0d7a08b0e2cec4372033d3269979b4e72e2353ffd1444f57cb38bc9621219f" "anaconda" verify_py27
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda2-5.2.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.2.0-MacOSX-x86_64.sh#d7d46e566306da5979cd5632079497fe6103b980e3a089ccf27a9f30cbee84dc" "anaconda" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": The binary distribution of Anaconda2 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
19
plugins/python-build/share/python-build/anaconda3-5.2.0
Normal file
19
plugins/python-build/share/python-build/anaconda3-5.2.0
Normal file
@@ -0,0 +1,19 @@
|
||||
case "$(anaconda_architecture 2>/dev/null || true)" in
|
||||
"Linux-x86" )
|
||||
install_script "Anaconda3-5.2.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86.sh#f3527d085d06f35b6aeb96be2a9253ff9ec9ced3dc913c8e27e086329f3db588" "anaconda" verify_py36
|
||||
;;
|
||||
"Linux-x86_64" )
|
||||
install_script "Anaconda3-5.2.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh#09f53738b0cd3bb96f5b1bac488e5528df9906be2480fe61df40e0e0d19e3d48" "anaconda" verify_py36
|
||||
;;
|
||||
"MacOSX-x86_64" )
|
||||
install_script "Anaconda3-5.2.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.2.0-MacOSX-x86_64.sh#c8089121dc89ffe8f9a0c01205bab75a112821a13d413152d6690f5eef094afa" "anaconda" verify_py36
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,2 @@
|
||||
#require_gcc
|
||||
install_package micropython-1.9.4 "https://github.com/micropython/micropython/releases/download/v1.9.4/micropython-1.9.4.tar.gz#0db042011bffcbd65362b67eb3cca87eaefa9f2a55b747fa75e922c706b8ce1a" micropython
|
||||
Reference in New Issue
Block a user