Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

install latest pip, add setuptools_scm to BUILD_DEPENDS #62

Merged
merged 3 commits into from
Oct 15, 2019

Conversation

robbuckley
Copy link
Contributor

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

.travis.yml Outdated
@@ -68,13 +68,16 @@ before_install:
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
- CONTAINER="wheels"; # pre-relesae
- BUILD_COMMIT=$BUILD_COMMIT;
- BUILD_DEPENDS="$NP_BUILD_DEP Cython==0.28.2"
# add setuptools_scm here as WAR for https://github.com/pypa/packaging-problems/issues/134 with Python 3.5
- BUILD_DEPENDS="$NP_BUILD_DEP Cython==0.28.2 setuptools_scm"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should setuptools_scm and the pip (re?)install only be done for the 3.5 build?

Copy link
Contributor

Choose a reason for hiding this comment

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

is it relevant that pandas requires cython 0.29.13?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is on the master, which sets the BUILD_COMMIT=v0.25.1 which allowed older Cythons.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah @TomAugspurger its only needed for the mac 3.5 build. I've added some more explanation in pandas-dev/pandas#28954 (comment).

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

LGTM (you think the pip boostrap isn't needed anymore?)

Copy link
Contributor Author

@robbuckley robbuckley left a comment

Choose a reason for hiding this comment

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

Yes @TomAugspurger - it turns out thatmultibuild already installs the latest pip for mac https://github.com/matthew-brett/multibuild/blob/f0bff09b0c03ed5325cbcbef135b16b2b9162d53/osx_utils.sh#L306. But even if it didnt, looking at the logs, the version that travis preinstalls is 10.0.1 which would be more than sufficient.

@TomAugspurger TomAugspurger merged commit 1508d26 into MacPython:master Oct 15, 2019
@TomAugspurger
Copy link
Contributor

Thanks!

TomAugspurger pushed a commit to TomAugspurger/pandas-wheels that referenced this pull request Oct 15, 2019
* install latest pip, add setuptools_scm to BUILD_DEPENDS

* remove comments

* pre-install setuptools_scm only for mac 3.5 build

(cherry picked from commit 1508d26)
TomAugspurger pushed a commit to TomAugspurger/pandas-wheels that referenced this pull request Oct 15, 2019
* install latest pip, add setuptools_scm to BUILD_DEPENDS

* remove comments

* pre-install setuptools_scm only for mac 3.5 build

(cherry picked from commit 1508d26)
@robbuckley robbuckley deleted the mac3_5_setuptools branch October 15, 2019 19:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BLD: macOS 3.5 wheel build on master started failing
3 participants