Skip to content

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

@sravanimangena

Description

@sravanimangena

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugHelp WantedWe will be glad if somebody proposes a solution via PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions