devopshq / devopshq/artifactory

deploy_file() method is failing with "[WinError 87] The parameter is incorrect" under Python3.12.0

Open
#479 3 comments 0 reactions 0 assignees View on GitHub
Bug Help Wanted
Dominant language
Python
Stars
306
Forks
161
PR merge metrics
No merged PRs in 30d

Description

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,
)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.