#10728 fedpkg new-sources fails for python38-jmespath
Closed: Upstream by zlopez. Opened by orion.

Describe what you would like us to do:


[orion@rufous python38-jmespath (epel8)]$ fedpkg --verbose --debug new-sources jmespath.py-0.10.0.tar.gz 
Creating repo object from /export/home/orion/fedora/python38-jmespath
Uploading: jmespath.py-0.10.0.tar.gz
######################################################################## 100.0%
Could not execute new_sources: Fail to upload files. Server returns status 0
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.42', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.6/site-packages/fedpkg/__main__.py", line 89, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.6/site-packages/pyrpkg/cli.py", line 2712, in new_sources
    offline=self.args.offline,)
  File "/usr/lib/python3.6/site-packages/pyrpkg/__init__.py", line 3083, in upload
    f, file_hash, offline=offline)
  File "/usr/lib/python3.6/site-packages/pyrpkg/lookaside.py", line 351, in upload
    self.raise_upload_error(status)
  File "/usr/lib/python3.6/site-packages/pyrpkg/lookaside.py", line 128, in raise_upload_error
    raise UploadError(message, http_status=http_status)
pyrpkg.errors.UploadError: Fail to upload files. Server returns status 0

When do you need this to be done by? (YYYY/MM/DD)


Soon - can't build it until this is fixed.


It worked fine for me with fedpkg-1.42-1.fc35.noarch. In any case, you should be able to build your package now that I've uploaded the sources for you :).

$ fedpkg --verbose --debug new-sources jmespath.py-0.10.0.tar.gz
Creating repo object from /home/gotmax/Sync/git-repos/packaging/fedora_rpms/my.repos/python38-jmespath
Uploading: jmespath.py-0.10.0.tar.gz
######################################################################## 100.0%
b'File jmespath.py-0.10.0.tar.gz size 81860 SHA512 84d787a9547bf0d33dfb4cf42514d6a7a1e69fb8867ccb9d84aa0555ea52b3064a9c6a49b3c51564090bb1d1d2d067fe1887105d744a0f25a991d9e9595c85c5 stored OK'
Source upload succeeded. Don't forget to commit the sources file

hmm, thanks for the upload. I'll see if I can trace this down any further. I was trying with:

fedpkg-1.42-2.el8.noarch
python3-rpkg-1.64-4.el8.noarch

This seems like an issue in fedpkg itself. Please fill the bug upstream.

Metadata Update from @zlopez:
- Issue close_status updated to: Upstream
- Issue status updated to: Closed (was: Open)

Metadata