Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies (full list), Mathics for Slackware? #1229

Open
dchmelik opened this issue Dec 15, 2024 · 2 comments
Open

dependencies (full list), Mathics for Slackware? #1229

dchmelik opened this issue Dec 15, 2024 · 2 comments

Comments

@dchmelik
Copy link

dchmelik commented Dec 15, 2024

Describe the solution you'd like
I maintain mathics.SlackBuild (builds Mathics Slackware GNU/Linux package) at #⁠1 major extra build script repository for Slackware: SlackBuilds.org (SBo). I couldn't update mathics.SlackBuild in two years due to unlisted depedencies... made test update of mathics, mathics-django, mathics_scanner SlackBuilds (mirror). I know dependencies include: click, mathics-django, mathics_scanner, python3-mpmath, python3-numpy, python3-scipy, python3-sympy, some X Window System (X) libraries, but all should be listed in README(md|txt) so also mathics GitHub (GH) page, not just for some popular UNIX/GNU/Linux, but any in general including non-GUI servers. For plackware update, X dependency list isn't needed (SBo assumes someone installs all including X, basic Python) nevertheless you should list for other cases.

Additional context

  • My mathics.SlackBuild tarball contains create database script (since older mathics): still needed, or can be removed?
  • Message/reply in Mathics chat (still on Matrix, Slack?) or an email address on your GH profile or from mathics.org if you'd like to test on my (non-Docker, non-GUI) server (with a SSH public key of yours).
@rocky
Copy link
Member

rocky commented Dec 17, 2024

The organization of this "feature request"(?) rambles a bit, so I am not certain which single actionable and trackable feature is desired. In the future, please focus on just one feature at a time, so we can track each one individually.

In my opinion, a lot of the stuff in "Describe the solution you would like" feels like "Additional context", and "Additional context" feels like an additional question and a request that may last indefintely.

I will guess that the question is the title: "How to get a full list of dependencies"? And this is less about this package than a general question about how one would get a full list of dependencies for any Python package or any complex program.

One solution is to use pipdeptree. I am sure there are other scripts out there that will do the same thing, and probably there are some customized for specific OS distributions. You might look for another Python package with lots of dependencies that slackware already packages and ask the packager how she/he gets dependency information. If it is done by hand, then consider starting with pipetree and customize it for Slackware.

@rocky
Copy link
Member

rocky commented Dec 20, 2024

I was curious about Slackware and noticed there is something called pip2tgz created for Slackware. I ran that and the bash program manages to make a package (in ubuntu) and find all of the dependencies.

I also note that the standard Slackware package for prerequisites like SymPy listed at https://slackware.uk/slackbuilds.org/14.0/academic/sympy/ are pretty old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants