Giter VIP home page Giter VIP logo

Comments (10)

matthew-brett avatar matthew-brett commented on September 26, 2024

Thanks for the issue. Great to see that you're doing lxml wheels, I had a shot at that a little while ago and got intimidated by the requirements.

The first Python 2.6 issue is that the current algorithm doesn't get the right filename for the download - it thinks the suffix for the download should be 10.6.dmg when it's 10.3.dmg. I can fix that. The next problem, for both 2.6 and 3.3, is that OSX 10.11 doesn't allow the old .mpkg installers that these versions have. I've run the tests on the OSX 10.10 image via travis, because that version does allow .mpkg installers. Last, pip is insecure on Python 2.6, so I've had to hack round that by specifying that pypi.python.org is a "trusted host". Anyway, I think they are both working now. See the new .travis.yml file of multibuild for the incantation to get the 10.10 OSX image.

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Thanks! Ill take a look at this asap (likely tomorrow)

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Howdy! It seems I have done something wrong. I attempted to add the two versions with the following

  - os: osx
    osx_image: xcode6.4
    env:
    - MB_PYTHON_VERSION=3.3

  - os: osx
    osx_image: xcode6.4
    env:
    - PYTHON_VERSION=2.6

They both fail https://travis-ci.org/Bachmann1234/lxml-wheels/builds/235186357

Looking at the error they dont have the appropriate access to get the python tars

 I  ~  curl  https://s3.amazonaws.com/travis-python-archives/binaries/osx/10.10/x86_64/python-3.5.tar.bz2
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>4C705C7807962F42</RequestId><HostId>8FlzjUxWv/h/IM6yNfuGdTc/GeXBhXi6JtjGQc9fPz/w4rdhfAfBr/O0aHii49ZQ4pmczILjd+c=</HostId></Error>
I  ~  curl https://s3.amazonaws.com/travis-python-archives/binaries/osx/10.10/x86_64/python-3.5.tar.bz2
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>09D777D7356B13AC</RequestId><HostId>lTWQRy7a+YLn31u31AL5TftyluLsRgCObbFldqPQvDQULKbUh10XmsNmkSRXxpkw0RLD2N9lg4s=</HostId></Error>

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

I think you need:

language: generic

in your .travis.yml file. I guess the problem here is that the older OSX images don't have Python 3.5 installed, and your current language: python is triggering an attempt to download and build Python 3.5.

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Oh doy! Ok, giving it a run now. thanks!

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

Sorry, I mean language: generic for the OSX jobs. You will need some Python installed for the scripts to work, this is already so in OSX.

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Yeah, no worries. I understood. I looked at my other osx jobs and was like "Oh. I should have saw that" Its early morning :-P

diff --git a/.travis.yml b/.travis.yml
index 1dbdb23..7e6b0a0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -67,6 +67,7 @@ matrix:
     - MB_PYTHON_VERSION=3.6
     - PLAT=i686
   - os: osx
+    language: generic
     osx_image: xcode6.4
     env:
     - PYTHON_VERSION=2.6
@@ -79,6 +80,7 @@ matrix:
     env:
     - MB_PYTHON_VERSION=3.4
   - os: osx
+    language: generic
     osx_image: xcode6.4
     env:
     - MB_PYTHON_VERSION=3.3

Im off to work. But ill poke here when the build finishes

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Progress!

3.3 works but 2.6 fails. Something about a virtual environment

config error: Issue parsing this implentation in install_python:
    version=venv

My guess its because I have not setup virtualenvironments for these builds. That is on me. Should be easy to experiment with that. Wont be able to until at least this weekend though. I think this can be closed (though if you think my diagnosis of the above error is wrong please let me know.

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

I think you just need MB_PYTHON_VERSION=2.6 instead of PYTHON_VERSION=2.6.

from multibuild.

Bachmann1234 avatar Bachmann1234 commented on September 26, 2024

Omg. :Facepalm: thanks

from multibuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.