Skip to content

TST: Install pickle5 for CI testing with python 3.6/7#12091

Merged
charris merged 3 commits intonumpy:masterfrom
pierreglaser:update-ci-setup-for-pickle-protocol-5
Oct 8, 2018
Merged

TST: Install pickle5 for CI testing with python 3.6/7#12091
charris merged 3 commits intonumpy:masterfrom
pierreglaser:update-ci-setup-for-pickle-protocol-5

Conversation

@pierreglaser
Copy link
Copy Markdown
Contributor

This PR gathers the changes to the CI images/script needed to test correctly the contents of the PR #12011, that implements pickle protocol 5 for numpy arrays.

For python 3.6 and 3.7, using pickle protocol 5 is possible only thanks to the pickle5 module. As we enable the use of pickle5 in the aforementioned PR,, we install the pickle5 module in some setups involving python 3.6 and 3.7 in order to test those functionalities.

Pinging @ogrisel and @mattip

# Upgrade to the latest pip.
- 'python -m pip install -U pip setuptools wheel'

- if [%INSTALL_PICKLE5%]==[1] echo pickle5 >> tools/ci/appveyor/requirements.txt
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure our Appveyor webhook is now disabled in favor of Azure Pipelines for windows testing, so I'm not sure there's much value in modifying the appveyor yml file.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appveyor is still used for building wheels, let's not deprecate it just yet.

@mattip
Copy link
Copy Markdown
Member

mattip commented Oct 7, 2018

You should also modify the azure yml

@pierreglaser
Copy link
Copy Markdown
Contributor Author

pierreglaser commented Oct 8, 2018

@mattip done, do not hesitate if there is anything else :)

@charris charris changed the title MNT add pickle5 to some python 3.6/7 setups for the CI suite TST: Add pickle5 to some python 3.6/7 setups for the CI suite Oct 8, 2018
@charris charris changed the title TST: Add pickle5 to some python 3.6/7 setups for the CI suite TST: Add pickle5 tests for python 3.6/7 to the CI suite Oct 8, 2018
@charris charris changed the title TST: Add pickle5 tests for python 3.6/7 to the CI suite TST: Install pickle5 for python 3.6/7 tests to the CI suite Oct 8, 2018
@charris charris changed the title TST: Install pickle5 for python 3.6/7 tests to the CI suite TST: Install pickle5 for CI testing with python 3.6/7 Oct 8, 2018
@charris charris merged commit dab3fb6 into numpy:master Oct 8, 2018
@charris
Copy link
Copy Markdown
Member

charris commented Oct 8, 2018

Thanks @pierreglaser .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants