Tags: ktdreyer/artifactory
Tags
Python 3.11 (devopshq#424) * ArtifactoryPath: fix mkdir and rmdir with Python 3.11 pathlib in Python 3.11 implements mkdir and rmdir directly in terms of calling os.<func> without any accessor layer. So copy the implementations of those functions from Python 3.10 to get the previous behavior back. Fixes: devopshq#415 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> * test_artifactory_path: Add basic unit test for mkdir() Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> * ArtifactoryPath: Fix glob() in Python 3.11 Python 3.11 replaced _accessor.scandir with _scandir. Override _scandir to still use our implementation. Should be a noop on older Python versions because they didn't have _scandir at all. Fixes: devopshq#396 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> --------- Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
fix: add callable check to progress_bar If `progress_func` is `None` a `TypeError` (`TypeError: 'NoneType' object is not callable`) is raised. Add check to verify that `progress_func` is callable. Fixes devopshq#378.
Merge pull request devopshq#328 from devopshq/pre-commit-ci-update-co… …nfig [pre-commit.ci] pre-commit autoupdate
Merge pull request devopshq#301 from devopshq/develop Release (15 Dec 2021)
Merge pull request devopshq#315 from beliaev-maksim/mbeliaev/repo_stat mbeliaev/repo stat
PreviousNext