Skip to content

Commit

Permalink
BUG: Fix bug caused by missing attribute during bdist_wheel
Browse files Browse the repository at this point in the history
Related to [AIM-Harvard#257 in pypa/wheel](pypa/wheel#257).

Newest version of wheel now expects the requirements object returned by `pkg_resources.Requirement.parse(req)` to have an url attribute.
Change the installation of setuptools to ensure correct setuptools version is used.
  • Loading branch information
JoostJM committed Oct 3, 2018
1 parent 6542181 commit 240b3d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion appveyor.yml
Expand Up @@ -15,7 +15,7 @@ environment:
PYTHON_VERSION: "3.4.x"
PYTHON_SHORT_VERSION: "3.4"
PYTHON_ARCH: "64"
BLOCK: "0"
BLOCK: "1"

- PYTHON_DIR: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
Expand All @@ -31,6 +31,7 @@ environment:

init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- python -m pip install setuptools --upgrade
- python -m pip install scikit-ci==0.13.0 scikit-ci-addons==0.11.0
- python -m ci_addons --install ../addons
- python -m pip install twine
Expand Down
3 changes: 1 addition & 2 deletions scikit-ci.yml
Expand Up @@ -27,10 +27,9 @@ before_install:
install:
commands:
- python --version
- python -m pip install --disable-pip-version-check --upgrade pip
- pip install --disable-pip-version-check --upgrade pip
- $<RUN_ENV> pip install wheel>=0.29.0
- $<RUN_ENV> pip install setuptools>=38.6.0
- $<RUN_ENV> pip install numpy>=1.9.2
- $<RUN_ENV> pip install --trusted-host www.itk.org -f https://itk.org/SimpleITKDoxygen/html/PyDownloadPage.html SimpleITK>=0.9.1
- $<RUN_ENV> python -c "import SimpleITK; print('SimpleITK Version:' + SimpleITK.Version_VersionString())"
- $<RUN_ENV> pip install -r requirements.txt
Expand Down

0 comments on commit 240b3d6

Please sign in to comment.