Search Criteria
Package Details: platypush 1.3.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/platypush.git (read-only, click to copy) |
---|---|
Package Base: | platypush |
Description: | Universal multi-platform command executor and automation manager |
Upstream URL: | https://git.platypush.tech/platypush/platypush |
Licenses: | MIT |
Conflicts: | platypush-git |
Provides: | platypush |
Submitter: | blacklight |
Maintainer: | blacklight |
Last Packager: | blacklight |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-20 00:05 (UTC) |
Last Updated: | 2024-09-26 00:10 (UTC) |
Dependencies (83)
- python (python37AUR, python311AUR, python310AUR)
- python-alembic
- python-croniter
- python-dateutil
- python-docutils
- python-flask (python-flask-gitAUR)
- python-magic (python-magic-gitAUR)
- python-marshmallow
- python-pip
- python-psutil
- python-redis
- python-requests
- python-rsa
- python-setuptools
- python-sqlalchemy (python-sqlalchemy1.3AUR, python-sqlalchemy-gitAUR, python-sqlalchemy1.4)
- python-tornado
- python-websocket-client (python-websocket-client-gitAUR)
- python-websockets
- python-yaml (python-yaml-gitAUR)
- python-zeroconf
- Show 63 more dependencies...
Latest Comments
micwoj92 commented on 2024-07-17 20:06 (UTC)
Sorry, I was wrong about
sudo
.pacman doesn't depend on it, I somehow mixed this up with
base-devel
group which includes sudo.blacklight commented on 2024-07-16 23:53 (UTC)
Yup, the code has some logic in place to check whether:
--break-system-packages
was enforced)If 1. is satisfied, then all
pip install
commands will be run within the venv - no tweaks required.Otherwise, if 2. is satisfied, then the
python-*
packages provided by the system package manager will have priority overpip install
.Otherwise (i.e. if some optional dependencies aren't available through e.g. pacman), and 3. is satisfied, it'll run
pip install
- in the system Python libs if running as root, in the user's home installation folder otherwise.If running on Python >= 3.11, the application passes
--break-system-packages
as a workaround.Not really. The application has some base dependencies, and then many optional dependencies, depending on what plugins the user wants to use.
The dependencies for those plugins can be installed in many ways - the Web UI and the online docs provide both the
pacman
andpip
install commands for each of the extra integrations. Automatic installation via API/UI is only one of the possible ways. It's usually advised only in virtual environments and container installations, and on recent versions of Python it requirespip
with the--break-system-packages
workaround (and it may break system stuff if the application is run as root), but the method is nevertheless available - although discouraged on system installations.Good to know, I'll proceed with removing
redis
andsudo
then.micwoj92 commented on 2024-07-16 21:19 (UTC) (edited on 2024-07-16 21:19 (UTC) by micwoj92)
Package always provides (and conflicts) with self. platypush-git already conflicts platypush so this is not needed in this package.
Dependencies:
1 & 2 Does this pip installation work correctly? (I didn't test fwiw). python package provides python-externally-managed, so pip won't work without some workaround https://peps.python.org/pep-0668/
I don't think sudo in depends is right way. If by "available package manager" you mean pacman (or aur helper) then it's redundant because these tools already depend on sudo, so this is not needed for this pkg per se.
In the case of using pip from is not really right way to do this. This also doesn't make sense, because user should not download into / but use
~/.local
for example. Then one can argue that this entire package is not needed because users just can install from all with pip.3. I see, this is already taken care by
python-redis
so explicit redis can be removed if you want to get rid of this namcap warning.blacklight commented on 2024-07-16 21:03 (UTC)
Those are to ensure that
platypush
andplatypush-git
can't be installed simultaneosly.Good catch, some of them were leftovers that I forgot to clean up, but some are required even if not imported/used directly:
micwoj92 commented on 2024-07-16 19:42 (UTC)
Thanks, please also remove provides and conflicts. This is not needed. Namcap also complains about these unneeded dependencies (this is same for -git package btw)
Additionally these messages about directories/files and missing license
I didn't check all optdepends since they are so many. I think that's all my nitpicks.
blacklight commented on 2024-07-16 19:28 (UTC)
I've just pushed a fixed release - it looks like the CI/CD process for some reason calculated the sha512sum of the previous version of the package...
micwoj92 commented on 2024-07-16 19:20 (UTC)