Code Monkey home page Code Monkey logo

Comments (9)

dlangille avatar dlangille commented on August 24, 2024 2

@czue : Confirmed works.

I committed a FreeBSD port yesterday: https://www.freshports.org/devel/py-celery-progress/

Thank you for your help. It is appreciated.

from celery-progress.

czue avatar czue commented on August 24, 2024 1

Oops sorry about that. Definitely happy to do this for the next release. For my own education, what does the sdist help with that isn't covered by the wheel?

from celery-progress.

czue avatar czue commented on August 24, 2024 1

👍 thanks for the responses! I'll try and make this happen this coming week. 🤞

from celery-progress.

czue avatar czue commented on August 24, 2024 1

I think this is done now (I also added a new release to be sure). Can you check and close if it looks ok?

from celery-progress.

czue avatar czue commented on August 24, 2024 1

closing this - though let me know if you need anything else

from celery-progress.

czue avatar czue commented on August 24, 2024 1

great!

from celery-progress.

dlangille avatar dlangille commented on August 24, 2024

I am a FreeBSD ports committer but I do not have great insight into Python packages. I know the FreeBSD packaging system (known as ports) uses the sdist file. To get more information than that for you, I've put the question out to other FreeBSD port developers.

from celery-progress.

neirbowj avatar neirbowj commented on August 24, 2024

I'll take a shot here.

The wheel format is itself designed to be an installable package. The FreeBSD ports machinery is designed to produce an installable package of its own format. In order to use a wheel as the input to the FreeBSD port build process, the build machinery would have to be able to disassemble one package format in order to be able to re-assemble the contents into another package format.

On top of that, wheels in general can contain platform- and architecture-specific files that are produced during the build process. Consequently, the Python parts of the FreeBSD ports machinery would need to be able to select the right wheel for a given build context (Python version, options, architecture, etc), and port maintainers would still need to be able to fall back to configuring their ports to build from sdists in cases when the upstream project does not publish a usable wheel.

In summary, sdist is both better suited as the input to a build process that produces a package than a wheel is, and is much more reliable common denominator

For reference, Python ports make up roughly 11% of the ~29k ports in the FreeBSD ports tree.

from celery-progress.

koobs avatar koobs commented on August 24, 2024
  • Allows consumers (both downstream packagers, and users) to customise the build, appropriate for their needs or environment
  • Ensures upstreams are testing a complete Python packaging / distribution pipeline (compliance, best practice, etc)

See Also:

from celery-progress.

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.