Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
a8bde021
Commit
a8bde021
authored
Jan 04, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CPython and PyPy versions.
parent
dcb4a778
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
22 deletions
+30
-22
CHANGES.rst
CHANGES.rst
+6
-1
scripts/install.sh
scripts/install.sh
+24
-21
No files found.
CHANGES.rst
View file @
a8bde021
...
...
@@ -7,7 +7,12 @@
1.5a4 (unreleased)
==================
- Nothing changed yet.
Platform and Packaging Updates
------------------------------
- Python version updates: gevent is now tested with CPython 3.6.10,
3.7.6 and 3.8.1. It is also tested with PyPy2 7.3 and PyPy 3.6
7.3.
1.5a3 (2020-01-01)
...
...
scripts/install.sh
View file @
a8bde021
...
...
@@ -17,26 +17,28 @@ PYENV=$BASE/pyenv
echo
$BASE
mkdir
-p
$BASE
if
[
!
-d
"
$PYENV
/.git"
]
;
then
rm
-rf
$PYENV
git clone https://github.com/pyenv/pyenv.git
$BASE
/pyenv
else
back
=
$PWD
cd
$PYENV
# We don't fetch or reset after the initial creation;
# doing so causes the Travis cache to need re-packed and uploaded,
# and it's pretty large.
# So if we need to incorporate changes from pyenv, either temporarily
# turn this back on, or remove the Travis caches.
# git fetch || echo "Fetch failed to complete. Ignoring"
# git reset --hard origin/master
cd
$back
fi
update_pyenv
()
{
VERSION
=
"
$1
"
if
[
!
-d
"
$PYENV
/.git"
]
;
then
rm
-rf
$PYENV
git clone https://github.com/pyenv/pyenv.git
$BASE
/pyenv
else
if
[
!
-f
"
$PYENV
/plugins/python-build/share/python-build/
$VERSION
"
]
;
then
echo
"Updating
$PYENV
for
$VERSION
"
back
=
$PWD
cd
$PYENV
git fetch
||
echo
"Fetch failed to complete. Ignoring"
git reset
--hard
origin/master
cd
$back
fi
fi
}
SNAKEPIT
=
$BASE
/snakepit
##
# install(exact-version, bin-alias, dir-alias)
#
...
...
@@ -60,6 +62,7 @@ install () {
if
[
!
-e
"
$DESTINATION
"
]
;
then
mkdir
-p
$SNAKEPIT
mkdir
-p
$BASE
/versions
update_pyenv
$VERSION
$BASE
/pyenv/plugins/python-build/bin/python-build
$VERSION
$DESTINATION
fi
...
...
@@ -102,19 +105,19 @@ for var in "$@"; do
install
3.5.9 python3.5 3.5.d
;;
3.6
)
install
3.6.
9
python3.6 3.6.d
install
3.6.
10
python3.6 3.6.d
;;
3.7
)
install
3.7.
5
python3.7 3.7.d
install
3.7.
6
python3.7 3.7.d
;;
3.8
)
install
3.8.
0
python3.8 3.8.d
install
3.8.
1
python3.8 3.8.d
;;
pypy2.7
)
install
pypy2.7-7.
2
.0 pypy2.7 pypy2.7.d
install
pypy2.7-7.
3
.0 pypy2.7 pypy2.7.d
;;
pypy3.6
)
install
pypy3.6-7.
2
.0 pypy3.6 pypy3.6.d
install
pypy3.6-7.
3
.0 pypy3.6 pypy3.6.d
;;
esac
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment