When I try to upload a new version 0.8.2 of my python software with pdm to PyPi I get the error [WriteTimeout]: The write operation timed out while the upload works for another project with very similar pyproject.yaml and has worked in the past with the same project. How can I troubleshoot this issue? Since it could be a problem on the PyPi website, I tried it yesterday and today and with the two projects of mine and it worked on both days with one but not the other. The output of the pdm call is [nix-shell:...]$ pdm publish Building sdist... Built sdist at .../flinventory-gui/dist/flinventory_gui-0.8.2.tar.gz Building wheel from sdist... Built wheel at .../flinventory-gui/dist/flinventory_gui-0.8.2-py3-none-any.whl Uploading flinventory_gui-0.8.2-py3-none-any.whl 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.9/41.9 MB • 00:00 • 1.7 GB/s See /home/<myuser>/.local/state/pdm/log/pdm-publish-1izbpvq6.log for detailed debug log. [WriteTimeout]: The write operation timed out WARNING: Add '-v' to see the detailed traceback The detailed debug log is pdm.termui: Error occurs Traceback (most recent call last): File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions yield File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_transports/default.py", line 250, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request raise exc from None File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request raise exc File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 88, in handle_request self._send_request_body(**kwargs) File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 159, in _send_request_body self._send_event(event, timeout=timeout) File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 166, in _send_event self._network_stream.write(bytes_to_send, timeout=timeout) File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 135, in write with map_exceptions(exc_map): ^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/nix/store/gmwf71m0vhbcsmpdgljhqd4x8ljixld1-python3.12-httpcore-1.0.9/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.WriteTimeout: The write operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/nix/store/n13h35gim2bbwi3qvinr8lvxx5p1n317-pdm-2.24.1/lib/python3.12/site-packages/pdm/termui.py", line 260, in logging yield logger File "/nix/store/n13h35gim2bbwi3qvinr8lvxx5p1n317-pdm-2.24.1/lib/python3.12/site-packages/pdm/cli/commands/publish/__init__.py", line 189, in handle resp = repository.upload(package) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/n13h35gim2bbwi3qvinr8lvxx5p1n317-pdm-2.24.1/lib/python3.12/site-packages/pdm/cli/commands/publish/repository.py", line 182, in upload resp = self.session.send(request, follow_redirects=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_client.py", line 914, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_client.py", line 942, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_client.py", line 979, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_client.py", line 1014, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/5i53xhhp8d9sdav39ql3lwwkfv9rj9x7-python3.12-hishel-0.1.2/lib/python3.12/site-packages/hishel/_sync/_transports.py", line 213, in handle_request regular_response = self._transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_transports/default.py", line 249, in handle_request with map_httpcore_exceptions(): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/8w718rm43x7z73xhw9d6vh8s4snrq67h-python3-3.12.10/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/nix/store/fh5pvazqpn19q9vi46aiwv1c8lvj7i15-python3.12-httpx-0.28.1/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.WriteTimeout: The write operation timed out My pdm config is Home configuration (/home/felix/.config/pdm/config.toml): python.use_venv = True repository.pypi.url = https://upload.pypi.org/legacy/ repository.pypi.username = __token__ repository.pypi.password = <hidden> venv.backend = venv I use pdm Version 2.24.1. The built files are of size 40M: [/flinventory-gui]$ ls dist -l total 81372 -rw-r--r-- 1 41844366 Jun 29 13:25 flinventory_gui-0.8.2-py3-none-any.whl -rw-r--r-- 1 41478318 Jun 29 13:25 flinventory_gui-0.8.2.tar.gz Continue reading...