-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: 3.8 build #28730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: 3.8 build #28730
Changes from all commits
4d277c4
56c49ca
439571c
656e076
66db6a6
80101f5
2fce3b5
4eac026
ad56fe9
f4ad020
4f98585
209aecd
7d39c4d
c1b692f
6c7e0d1
2e28dca
b686fbe
452e251
3c8297d
61f69a0
5bb2416
5439263
82dbbb1
a33105f
0561294
65d3137
8cdaaf7
fcbf921
62a1d00
426ba4a
d93e5a6
3f84025
64da0db
e6fdeff
02db7c3
fbf1421
48f98e9
fd49724
611c2b8
eaa8af7
2d43512
ea5aba6
620023a
e7cdbc6
e8c579d
a3c986b
8f4a80a
3c91ef3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,12 @@ matrix: | |
- python: 3.5 | ||
|
||
include: | ||
- dist: bionic | ||
# 18.04 | ||
python: 3.8-dev | ||
env: | ||
- JOB="3.8-dev" PATTERN="(not slow and not network)" | ||
|
||
- dist: trusty | ||
env: | ||
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network)" | ||
|
@@ -71,24 +77,27 @@ before_install: | |
# This overrides travis and tells it to look nowhere. | ||
- export BOTO_CONFIG=/dev/null | ||
|
||
|
||
install: | ||
- echo "install start" | ||
- ci/prep_cython_cache.sh | ||
- ci/setup_env.sh | ||
- ci/submit_cython_cache.sh | ||
- echo "install done" | ||
|
||
|
||
before_script: | ||
# display server (for clipboard functionality) needs to be started here, | ||
# does not work if done in install:setup_env.sh (GH-26103) | ||
- export DISPLAY=":99.0" | ||
- echo "sh -e /etc/init.d/xvfb start" | ||
- sh -e /etc/init.d/xvfb start | ||
- if [ "$JOB" != "3.8-dev" ]; then sh -e /etc/init.d/xvfb start; fi | ||
- sleep 3 | ||
|
||
script: | ||
- echo "script start" | ||
- source activate pandas-dev | ||
- echo "$JOB" | ||
- if [ "$JOB" != "3.8-dev" ]; then source activate pandas-dev; fi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this not also called pandas-dev (the env name)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean $JOB? none of the other $JOB values have pandas-dev in the name |
||
- ci/run_tests.sh | ||
|
||
after_script: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash -e | ||
# Special build for python3.8 until numpy puts its own wheels up | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you should create a bare conda env here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how come? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3.8 should not be very different than a regular setup There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has to be different until there are 3.8 packages (python especially, but also our dependencies). I think Brock has about the minimal difference we can get right now. |
||
sudo apt-get install build-essential gcc xvfb | ||
pip install --no-deps -U pip wheel setuptools | ||
pip install python-dateutil pytz cython pytest pytest-xdist hypothesis | ||
|
||
# Possible alternative for getting numpy: | ||
# pip install --pre -f https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/ numpy | ||
git clone https://github.com/numpy/numpy | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In theory, you can replace this with a |
||
cd numpy | ||
python setup.py build_ext --inplace | ||
python setup.py install | ||
cd .. | ||
rm -rf numpy | ||
|
||
python setup.py build_ext -inplace | ||
python -m pip install --no-build-isolation -e . | ||
|
||
python -c "import sys; print(sys.version_info)" | ||
python -c "import pandas as pd" | ||
python -c "import hypothesis" | ||
|
||
# TODO: Is there anything else in setup_env that we really want to do? | ||
# ci/setup_env.sh |
Uh oh!
There was an error while loading. Please reload this page.