When using Python-3.8.0 and below libraries, deploy_file() worked.
dohq-artifactory-1.0.1
requests-2.32.3
urllib3-2.2.3
PyJWT-2.9.0
python-dateutil-2.9.0.post0
And we are upgrading Python to 3.12.0, and below are latest getting downloaded, and deploy_file() module is failing in windows with "[WinError 87] The parameter is incorrect" issue.
dohq-artifactory-1.0.1
requests-2.32.3
urllib3-2.4.0
PyJWT-2.10.1
python-dateutil-2.9.0.post0
Details about file that is getting uploaded:
artifacts_tarball : artifacts.tar.gz
Location : C:\vagrant\
Function usage:
path.deploy_file(
artifacts_tarball,
calc_md5=False,
calc_sha1=False,
calc_sha256=False,
explode_archive=True,
explode_archive_atomic=True,
)