Skip to content

dohq-artifactory doesn't work with Python 3.11.2 #415

@Morfeel

Description

@Morfeel

dohq-artifactory==0.8.2
python --version Python 3.11.2

issue happens when using function:

ArtifactoryPath(xxxxx).mkdir()

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\xxx\Source\xxx\venv\Scripts\invoke.exe_main
.py", line 7, in
File "C:\Users\xxx\Source\xxx\venv\Lib\site-packages\invoke\program.py", line 380, in run
self.execute()
File "C:\Users\xxx\Source\xxx\venv\Lib\site-packages\invoke\program.py", line 565, in execute
executor.execute(*self.tasks)
File "C:\Users\xxx\Source\xxx\venv\Lib\site-packages\invoke\executor.py", line 127, in execute
result = call.task(*args, **call.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xx\Source\xxx\venv\Lib\site-packages\invoke\tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxx\Source\xxx\tasks.py", line 212, in publish
art_path.mkdir()
File "C:\Python311\Lib\pathlib.py", line 1116, in mkdir
os.mkdir(self, mode)

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://arti.sssss.com/test/100'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions