-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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: Fixing possible bugs in the CI #23727
Changes from 7 commits
57aca9a
08ccb80
cfc89a5
c8d20b1
9718fd5
b3f5744
22b8fc2
5afef71
6f17fe5
23d0c17
d08c0a8
e1a6f89
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 |
---|---|---|
|
@@ -18,6 +18,9 @@ dependencies: | |
- pymysql | ||
- pytables | ||
- python-dateutil | ||
# XXX We should be testing ``python=3.7*`` here, but `moto` is | ||
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 can just fix this, add moto with a min version to the pip section 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. For what I understood, the moto version compatible with Python 3.7 is not yet released. Did I misunderstood something? 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. @datapythonista @jreback
The credentials issue would be resolved (or rather deferred) by #23731, which makes all 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. still if you can just pip install it i am not sure of the problem. 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. Moved to pip, let's see if tests pass. For @h-vetinari comment I understood that even pip version would make the tests fail. |
||
# failing with py3.7 at the moment. | ||
# See: https://github.com/pandas-dev/pandas/pull/23727/files#r234240004 | ||
- python=3.6* | ||
- pytz | ||
- s3fs | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ source activate pandas | |
|
||
if [ -n "$LOCALE_OVERRIDE" ]; then | ||
export LC_ALL="$LOCALE_OVERRIDE"; | ||
export LANG="$LOCALE_OVERRIDE"; | ||
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. We have this in 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 could add this would prob be ok |
||
echo "Setting LC_ALL to $LOCALE_OVERRIDE" | ||
|
||
pycmd='import pandas; print("pandas detected console encoding: %s" % pandas.get_option("display.encoding"))' | ||
|
@@ -32,8 +33,12 @@ elif [ "$COVERAGE" ]; then | |
|
||
elif [ "$SLOW" ]; then | ||
TEST_ARGS="--only-slow --skip-network" | ||
echo pytest -m "not single and slow" -v --durations=10 --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas | ||
pytest -m "not single and slow" -v --durations=10 --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas | ||
# The `-m " and slow"` is redundant here, as `--only-slow` is already used (via $TEST_ARGS). But is needed, because with | ||
# `--only-slow` fast tests are skipped, but each of them is printed in the log (which can be avoided with `-q`), | ||
# and also added to `test-data-multiple.xml`, and then printed in the log in the call to `ci/print_skipped.py`. | ||
# Printing them to the log makes the log exceed the maximum size allowed by Travis and makes the build fail. | ||
echo pytest -n 2 -m "not single and slow" --durations=10 --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas | ||
pytest -n 2 -m "not single and slow" --durations=10 --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas | ||
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. not easy to see in the diff, but note that I added the |
||
|
||
else | ||
echo pytest -n 2 -m "not single" --durations=10 --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
CONDA_PY
we have37
, as well as in the yaml file, so I assume the name is wrong.