Code Monkey home page Code Monkey logo

Comments (13)

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

I will try to fix it in a more robust way using regexes. Hopefully today.

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

Ok I just pushed a fix to #46. If Travis comes back happy and you can confirm it fixes your issue I will merge.

from kiwi.

matthew-brett avatar matthew-brett commented on June 21, 2024

Passing test run for Windows / Python 2.7, #46

https://ci.appveyor.com/project/matthew-brett/kiwisolver-wheels/build/job/gq28639o08m3es0s

Passing test grid:

https://ci.appveyor.com/project/matthew-brett/kiwisolver-wheels/build/1.0.4

Are you planning to release in the near future with this fix, by any chance?

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

As the tests are not in the release do you need a new release or simply for me to push on master. I can make a bugfix release just for the tests, if you need it.

from kiwi.

matthew-brett avatar matthew-brett commented on June 21, 2024

If you do a bugfix release, then I don't have to patch round the error in the wheel-building repo - because we're running the tests as part of the build. If not then I can put a hack in to skip the tests or apply #46 to the repo before building / testing, but I'd rather avoid that if possible.

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

You get the repo from the Github tag, I guess. As this release would only touch the tests an not modify what people find on PyPI, I can do a release quickly (possibly today) without uploading to PyPI. Would that work for you ?

from kiwi.

matthew-brett avatar matthew-brett commented on June 21, 2024

The wheel building repo has a field in a couple of files called BUILD_COMMIT which specifies the commit to build - at the moment it's a commit hash for #46, but it can also be a tag or branch name. With the other projects I'm involved in, we try very hard to make sure that the code being built exactly corresponds to the pypi release, including tests, but if you'd rather not make a bugfix release for the tests, that's fine, we can just use the PR as a release build.

About the wheel building - this is the wheel-building repo:

https://github.com/MacPython/kiwisolver-wheels

I just got it working in the hope that y'all would consider using this repo to build wheels for upload to PyPI. I will help in whatever way you'd like. For example, I trigger builds and upload wheels for quite a few projects, but others use the instructions in the wheel-building repo to do it themselves:

https://github.com/MacPython/kiwisolver-wheels#uploading-the-built-wheels-to-pypi

I've just added you as an owner to the repository. Let me know how I can best help?

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

As the tests are not part of the release code currently and as neither the solver nor the bindings version would change, I don't think it is worth tagging a new release. If for the time being we can work with the commit hash (and add a note explaining why probably) this is fine.
I must say I am very interested in uploading wheels to PyPI, I will look into the process and let you know should I encounter any issue. Two related projects could actually benefit from the infrastructure of MacPorts atom and enaml (found under the same organization). I already build conda packages for them using conda-forge but never built wheels because I do not have the infrastructure to do so. Could you create repos for those two projects and add me as maintainer, I will take care of getting the builds to work ? Hopefully for those two the tests of the tags will all pass.

from kiwi.

matthew-brett avatar matthew-brett commented on June 21, 2024

No problem about the release. Did you manage to upload the wheels OK? I've made a couple of repos for you and added you as an admin collaborator.

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

Thanks for the repos. I noticed that Travis did not yet started the builds, should I need to do anything to enable them once everything is ready ?
I had no time yet to look at the release, hopefully I will have some time tomorrow (or this week-end). Looking at the README I should create a 1.0.1 branch in the repo first no ? Thanks again with your help with this I greatly appreciate it.

from kiwi.

matthew-brett avatar matthew-brett commented on June 21, 2024

You can make a branch in the README - that keeps track of what code you used to build the wheel - but there's no requirement.

I think I enabled the builds now. There are a couple of build failures for atom / Python 3.6. The enaml builds seem to need a Qt install.

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

Ok thanks for enabling the builds. The atom issue is something I have already seen in conda-forge conda-forge/atom-feedstock#2 and that is fairly easy to fix. Enaml can be used without qt (using another package providing a different backend) but for testing we need to have it yes. I will add it.

from kiwi.

MatthieuDartiailh avatar MatthieuDartiailh commented on June 21, 2024

Ok I just uploaded the wheel. Such a simple a process ! Thanks for the tooling !
I will look into atom and enaml and let you know if I have any issues there.

from kiwi.

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.