#82 Regression: ftp:// support no longer works in spectool
Closed by decathorpe. Opened by pghmcfc.

The new version seems to be unable to handle ftp:// URLs:

$ spectool --gf libgpg-error.spec
Downloading: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2
Download failed:
No connection adapters were found for 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2'
Downloading: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2.sig
Download failed:
No connection adapters were found for 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2.sig'
- 0.0 B Elapsed Time: 0:00:00
- 0.0 B Elapsed Time: 0:00:00

I tried installing python3-requests-ftp but it didn't help:
$ rpm -qa python3-requests*
python3-requests-2.24.0-3.fc33.noarch
python3-requests_ntlm-1.1.0-12.fc33.noarch
python3-requests-download-0.1.2-4.fc33.noarch
python3-requests-gssapi-1.2.2-1.fc33.noarch
python3-requests-ftp-0.3.1-20.fc33.noarch


I just ran into this myself, rather unfortunate.

I'm sorry, but at this point it is very very unlikely that we will ever be adding back FTP support.

When I reimplemented the original Perl spectool in Python 3, I didn't realize that the requests library doesn't support FTP. There's some adapters for it, but they're now all ancient and quite bitrotten.

It's the 21st century. Please use https URLs for package sources.

Metadata Update from @decathorpe:
- Issue status updated to: Closed (was: Open)

Metadata