You are not logged in.

#1 2020-05-22 11:18:56

emes
Member
Registered: 2014-01-28
Posts: 16

Dependencies disappeared?

Hi,

Some time ago I created a PKGBUILD for package nginx-amplify-agent.
Today some user reported that 3 dependensies are missing.

This is quite strange, as they were part of the community repo. Why were they removed? Where can I learn about planned package removal? How can I access original PKGBUILDS if I decided to move them to AUR?

Offline

#2 2020-05-22 11:35:49

mpan
Member
Registered: 2012-08-01
Posts: 525
Website

Re: Dependencies disappeared?

Packages in the official repos are not guaranteed to stay there permanently. If a package remains unmaintained and there is no one to take care of it, it is dropped to AUR. It may later be removed from there too.

Those are also Python2 modules, so they are even more likely to be removed, because Python2 is no longer supported since the beginning of this year. Python2 EOL announcement appeared 6 years ago, to allow developers to move to Python3, and it has been discussed even earlier.

There are currently Python3 versions available: community/python-flup, community/python-netaddr and community/python-rstr.

Notet that nginx-amplify depends on 12 other Python2 packages, so you may face more similar issues soon.

Last edited by mpan (2020-05-22 11:38:58)


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#3 2020-05-22 11:47:56

emes
Member
Registered: 2014-01-28
Posts: 16

Re: Dependencies disappeared?

mpan wrote:

If a package remains unmaintained and there is no one to take care of it, it is dropped to AUR.

Apparently, it wasn't. I could do it myself if I had the original PKGBUILD. I don't have time to create it from scratch.

nginx-amplify-agent needs Python 2, unfortunately.

Offline

#4 2020-05-22 12:01:05

loqs
Member
Registered: 2014-03-06
Posts: 10,578

Re: Dependencies disappeared?

As mpan mentioned the python3 versions are still in the repositories,  they were previously split packages.
From the links mpan provided -> view changes -> remove unused python2 module -> tree

Offline

#5 2020-05-22 12:07:43

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,066

Re: Dependencies disappeared?

That's probably because these packages combined python2 & python3 version in one split package and not separate .
Technically all that happened was that the PKGBUILD was adjusted (python2 parts removed from it) but nothing was dropped.

[1] has the links for the last python-flup  & python-netaddr with python2 , it looks like python-rstr in repos never had a python2 version in repos.

There appear to be several alternatives for nginx amplify[2] , maybe it's time to check them out ?




[1]
https://git.archlinux.org/svntogit/comm … 187f0c9ac7
https://git.archlinux.org/svntogit/comm … 50aa055ce4


[2]
https://stackshare.io/nginx-amplify/alternatives

Last edited by Lone_Wolf (2020-05-22 12:08:12)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#6 2020-05-22 13:16:27

a821
Member
From: My Location
Registered: 2012-10-31
Posts: 165

Re: Dependencies disappeared?

Lone_Wolf wrote:

[...] it looks like python-rstr in repos never had a python2 version in repos.

It was in the AUR but now it is deleted. @emes, you can still clone it and re-submit it

git clone https://aur.archlinux.org/python2-rstr

Edit: word

Last edited by a821 (2020-05-22 13:17:34)

Offline

#7 2020-05-22 13:41:44

mpan
Member
Registered: 2012-08-01
Posts: 525
Website

Re: Dependencies disappeared?

Taking another package, as Lone_Wolf suggested, may be the best option. Unless the upstream is willing to port it to Python3 soon, you will end up with something that has EOL-d dependencies.

python-flup for Python2 has been moved to AUR in 2018: communityAUR. Python2 python-flup PKGBUILD and other files from June 2018 are still available.

python2-netaddr was built from a split package and Python2 version of netaddr has been removed in February 2020. python2-netaddr PKGBUILD and other file from November 2019 are still available.

I can’t find traces of community/python2-rstr. The repos python-rstr was Python3-only from the beginning. Neither ALA (as far as January 2019) nor ALHA contain the package. There existed an unmaintained version in AUR: September 2017 PKGBUILD for python2-rstr is available.


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

Board footer

Powered by FluxBB