-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Fixes to conda environment names #23860
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
Closed
charlesdong1991
wants to merge
22
commits into
pandas-dev:master
from
charlesdong1991:conda_env_name
Closed
Changes from 6 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
88bc2b7
change pandas to pandas-dev
charlesdong1991 fc88e2b
add source activate
charlesdong1991 fb34dcc
remove source activate
charlesdong1991 04e721c
clean the script
charlesdong1991 cd81131
debug
charlesdong1991 463be05
debug
charlesdong1991 70b99bc
REF/TST: Finish pytest idiom in parser tests (#23863)
gfyoung 7e184f0
move misplaced modulo test (#23827)
jbrockmendel 54932d0
TST: Add test cases for GH6173, appending to empty df (#23806)
eoveson 1e30a67
DOC/TST: doctests leaving extraneous files (#23858)
RomainSa 8edf972
CLN: Isort core/*.py and core/indexes/ (#23764)
alimcmaster1 e5c90e5
TST: split up pandas/tests/test_multilevel.py (#23797)
simonjayhawkins 6efdedd
add pandas-dev back at two lines
charlesdong1991 24bc4f6
change pandas to pandas-dev
charlesdong1991 28a3ebf
add source activate
charlesdong1991 9f56258
remove source activate
charlesdong1991 bf6bca2
clean the script
charlesdong1991 2c43b2f
debug
charlesdong1991 3a2a193
debug
charlesdong1991 bacb230
add pandas-dev back at two lines
charlesdong1991 393f754
test again after catching the latest master
charlesdong1991 840c566
Merge branch 'conda_env_name' of github.com:charlesdong1991/pandas in…
charlesdong1991 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
dependencies: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
dependencies: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: pandas | ||
name: pandas-dev | ||
channels: | ||
- defaults | ||
- conda-forge | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/bash | ||
|
||
source activate $CONDA_ENV | ||
|
||
# Make sure any error below is reported as such | ||
set -v -e | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,15 @@ conda list | |
# Clean up any left-over from a previous build | ||
# (note workaround for https://github.com/conda/conda/issues/2679: | ||
# `conda env remove` issue) | ||
conda remove --all -q -y -n $CONDA_ENV | ||
conda remove --all -q -y | ||
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. can you leave the |
||
|
||
echo | ||
echo "[create env]" | ||
time conda env create -q -n "${CONDA_ENV}" --file="${ENV_FILE}" || exit 1 | ||
time conda env create -q --file="${ENV_FILE}" || exit 1 | ||
|
||
# Activate first | ||
set +v | ||
source activate $CONDA_ENV | ||
source activate pandas-dev | ||
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. this one can be removed, also the |
||
set -v | ||
|
||
# remove any installed pandas package | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
we may need this, but you can replace the
%CONDA_ENV%
bypandas-dev