Hi there. Could someone take a look at the Python ...
# contributing-to-airbyte
a
Hi there. Could someone take a look at the Python CDK deploying pipeline? Tried to run
Copy code
/publish-cdk --dry-run=true
and got
Error: Unexpected inputs provided: ["--dry-run"]
And for the
Copy code
/publish-cdk
got
Copy code
Uploading distributions to <https://test.pypi.org/legacy/>
Uploading airbyte_cdk-0.1.9-py3-none-any.whl

  0%|          | 0.00/58.2k [00:00<?, ?B/s]
100%|██████████| 58.2k/58.2k [00:00<00:00, 90.5kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 400 Bad Request from <https://test.pypi.org/legacy/>
File already exists. See <https://test.pypi.org/help/#file-name-reuse> for more information.
##[debug]Docker Action run completed with exit code 1
##[debug]Finishing: Publish Python Package
The latest version in the pypi is 0.1.8 and I'm uploading 0.1.9. Here's a PR https://github.com/airbytehq/airbyte/pull/5425 , extracted from https://github.com/airbytehq/airbyte/pull/5223
u
Hey @s Any idea?
u
@Vitalii Vdovenko @Oleh Zorenko @Dmytro Rezchykov thanks!
u
@Arthur Galuza but you are not using PYPI
u
the dry-run flag uses test.pypi
u
the latest version there is 0.1.9
u
you can go there and delete that version
a
@Eugene Kulak I see, thanks, how can I deploy a release version then?
u
0.1.9 already exists
u
try specify valid version (0.1.10 I guess)
u
the correct command is
/publish-cdk dry-run=false
u
this one will publish to real PYPI