Coder Social home page Coder Social logo

Comments (10)

olaurino avatar olaurino commented on May 27, 2024

Hi Ole,

we are definitely interested in understanding the process and having Sherpa in Debian. I'll contact you so that we can get more info.

Thanks,

Omar.

from sherpa.

cdeil avatar cdeil commented on May 27, 2024

ITP = intent to package filed:

from sherpa.

olaurino avatar olaurino commented on May 27, 2024

Thanks @cdeil, this is great news. Could you please document the process in a shared place (maybe we can use the GitHub Wiki?). Please let me know if you need any support.

from sherpa.

cdeil avatar cdeil commented on May 27, 2024

I thought I'll just use this issue to make progress update comments and leave notes and ask questions.

Then at the end, I can summarise important info on a GH wiki page, including step-by-step instructions how to get the Debian package updated after a new Sherpa version.

@olaurino – Does this sound OK?

from sherpa.

olaurino avatar olaurino commented on May 27, 2024

@cdeil it sounds OK. Of course, the more you can document the better. :)

from sherpa.

cdeil avatar cdeil commented on May 27, 2024

I just wanted to say that yesterday @olebole walked me through most of the steps to create a package (see here) using Gammapy as an example. I'm on holiday for a week now, and when I get back I'll start with Sherpa.

One thing I didn't know before: most of the work is to go through every single file and check that the license / copyright is OK. E.g. scikit-image is currently under threat from being removed from Debian because they included a single non-free example image file (see here). Common issues are bundled or copied code from non-free sources, especially from Numerical recipes.
So @olaurino, if you or someone from the Sherpa team has the time to do this check, that is really the bulk of the work, and the rest is mostly mechanical and not so much work (unless there are build / install issues).

For now it's clear that Sherpa is GPL3+, but as we've discussed before, it would be great if it could be licensed more liberally, e.g. as BSD-3 like Numpy / Scipy / Astropy / ..., so that Sherpa could be used more widely as part of the scientific Python stack.
As far as I know (but I might be wrong) the choice of GPL3+ isn't because CXC or the Sherpa devs specifically want that license, but because of the fftw or other dependencies? In this case, @olebole pointed out that Sherpa can still have a more liberal license, and just the combined whole is GPL3+.
I don't want to start a license discussion here, I'm just pointing this out in case you do a thorough license / copyright check, then maybe this could be done in a single go also considering the possibility which files in Sherpa could be more liberally licensed.

from sherpa.

olebole avatar olebole commented on May 27, 2024

I would just add the link to an Blog entry of the yt project that deals with the whys and hows of their transition from GPL to BSD.

from sherpa.

olaurino avatar olaurino commented on May 27, 2024

@cdeil we did the exercise of reviewing the whole Sherpa codebase looking for licensing issues not long ago. The summary of the work is expressed in the contents of this file:
https://github.com/sherpa/sherpa/blob/master/COPYRIGHT

We have internal documentation with more detail, e.g. the location of the code mentioned in the above file. Please let me know if more information is required.

We did our best to ensure there are no violations to the GPL license, and to the best of our knowledge there are no issues. However, since this is a rather complex field, mistakes are always behind the corner (e.g. I did not know that the Lenna picture, for better or worse the most popular image manipulation example, was not free... and an incredible number of packages must have dealt with this issue at some point).

Note that the GPL constraints are more than just linking to fftw, as we embed code with a GPL license: in order to release Sherpa under a less restrictive license we should remove that code or ask the copyright holders to relicense it, although the latter option is rather unlikely.

One of the reasons for our licensing review was also to figure out what we would need to do in order to release Sherpa under a different license, but there seems to be a good deal of work involved for that to happen.

from sherpa.

olebole avatar olebole commented on May 27, 2024

I would like to bring this topic up again -- it would be nice to have Sherpa in Debian. Debian#795370 is still open ;-)

If there is any interest in working on it, please contact me/us. We would be glad to help.

from sherpa.

hamogu avatar hamogu commented on May 27, 2024

This has been open for > 8 years with no progress and while it would still be nice to a have a Debian (and other distros) native package, two things have happened since 2015: Our resources to develop and maintain Sherpa have decreased significantly, and advances in Python packaging have made it easier to install Python packages and dependencies. We provide conda binaries for Sherpa and Sherpa also installs with pip out of the box.
Thus, I'm closing this issue and recommend to also close the associated Debian ticket.

If you disagree strongly, feel free to re-open, preferably with a suggestion who can do the work and maintain the Debian package.

from sherpa.

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.