Giter Club home page Giter Club logo

Comments (10)

damiendr avatar damiendr commented on August 17, 2024

Never mind, it seems to be the pip-installed param package that is incompatible with lancet HEAD. Now works with param installed from the git repo.

from lancet.

jbednar avatar jbednar commented on August 17, 2024

Thanks. We need to make a new PyPI release of param so that pip will work, but haven't had a chance yet.

from lancet.

maxalbert avatar maxalbert commented on August 17, 2024

I just ran into the same problem and almost submitted another bug report but fortunately stumbled upon this closed issue first. Would it be possible to make another PyPI release of param at some point, or at least add a comment on the Lancet webpage that param should be installed from github? Many thanks!

from lancet.

jbednar avatar jbednar commented on August 17, 2024

Sigh. For us to do a decent job of packaging, we need some volunteers! But yes, we need to move that higher up in the priority list...

from lancet.

maxalbert avatar maxalbert commented on August 17, 2024

Apologies if this is a naive question, but since I have never uploaded a package on PyPI I'm wondering what's required to do it? Looking at https://docs.python.org/2/distutils/packageindex.html I would have thought that it's more or less a (semi-)automatic process. But there doesn't seem to be a setup.py file in the Lancet codebase, so am I guessing correctly that part of the task is to set one up? If there is something I can do to help that doesn't require too much time then please let me know! (Although it'll be a couple of weeks before I can look into it.) But to be honest I hestitate to step forward as a volunteer unless I know that Lancet is the right tool for my workflow.

from lancet.

jbednar avatar jbednar commented on August 17, 2024

The main problem is that I forget how to do it in between releases. :-) I don't think Lancet has been released to PyPI (Jean-Luc Stevens would be in charge of that), but here we need Param to be re-released, not Lancet. Param does have a setup.py file, but we have to remember how to do the release, look over the diffs since the last release to see if there are any changes that affect compatibility, then document those somewhere. Probably not easy for us to delegate at this point, as at least some of those steps really have to be taken by an experienced developer on the project. We'll do it!

from lancet.

maxalbert avatar maxalbert commented on August 17, 2024

Ok. Thanks a lot for the explanation and for uploading a new release! (No rush, I just thought I'd put a comment here because I'm likely not to be the only person to encounter this issue.)

from lancet.

ceball avatar ceball commented on August 17, 2024

The easy part of the packaging process:

$ python setup.py sdist

To upload to pypi as well, it's something like:

$ python setup.py sdist upload

But yes, the time-consuming part is to review (and possibly deal with) code changes and issues opened since the last release. From git describe it looks like there have been 46 commits since the previous release.

(Just to clarify, I'm talking about param.)

from lancet.

jlstevens avatar jlstevens commented on August 17, 2024

Hi

Sorry for not responding to this issue till now! A new version of param has just been released on PyPI which seems to resolve this issue.

pip install  --upgrade param

Should hopefully do the trick!

Jean-Luc

from lancet.

maxalbert avatar maxalbert commented on August 17, 2024

Awesome, thanks a lot. I'm currently travelling and won't be able to try this for another week or so, but I'll give it a shot when I'm back.

from lancet.

Related Issues (7)

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.