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 (first-level))? #1229

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

dependencies (full list (first-level))? #1229

dchmelik opened this issue Dec 15, 2024 · 3 comments
Labels
volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature

Comments

@dchmelik
Copy link

dchmelik commented Dec 15, 2024

Describe the solution you'd like
Seems dependencies include: click, mathics-django, mathics_scanner, python3-mpmath, python3-numpy, python3-scipy, python3-sympy, some X Window System (X) libraries, but all (first-level) 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.

@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.

@dchmelik dchmelik changed the title dependencies (full list), Mathics for Slackware? dependencies (full list)? Feb 5, 2025
@dchmelik
Copy link
Author

dchmelik commented Feb 5, 2025

I only use GitHub (GH) because Mathics Internet Relay Chat (IRC) & Slack seem dead, and after inactivity I was apparently automatically removed from Mathics Matrix (does it still exist and can I get back in?); a word I don't use (others can handle) is 'actionable, a. Subject or liable to an action at law; of such a character that an action on account of it will lie'--Oxford English Dictionary (OED, second edition).
        Yes, I ramble, and despite your reply in previous ticket (maybe agreeing to test) I guess Slackware isn't of major interest, so I removed that extra stuff above. Having to create package/dependencies to find dependencies is a catch-22, so for now I give up, though plan to continue/retry later (days/weeks/months/years... unsure). Nevertheless, others may have similar/same problem (and I want to get back to this) so the issue should still be very relevant (not everyone making build scripts and/or packages is expert in programming languages packages use, which I'm very beginner at Python). SlackBuilds.org's Mathics dependencies (current other Python SlackBuilds I didn't make) list some dependencies pipdeptree doesn't (though I ran that on mathics-core, seeing results) which I'd have to go through noting which are required and optional for mathics-core & mathics-scanner (or also mathics-django, mathics-omnibus) and any Slackware peculiarities (other dependencies?) so must think about this. If I recall correctly, either Slackware-current (probably, which I use) or Slackware-stable (unlikely, but still must list first-level dependencies) has a too old or new dependency, so I'm also waiting for update. If I have time--and I usually have a lot--retrying building Mathics will be of interest soon after such update.

@dchmelik dchmelik changed the title dependencies (full list)? dependencies (full list (first-level))? Feb 5, 2025
@rocky rocky added the volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
volunteer wanted Volunteer wanted to fix if a bug or to implement if a new feature
Projects
None yet
Development

No branches or pull requests

2 participants