swh.loader.mercurial 3.6.1__tar.gz → 3.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/.copier-answers.yml +2 -2
  2. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/PKG-INFO +5 -6
  3. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/pyproject.toml +1 -1
  4. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/requirements-swh.txt +1 -1
  5. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/requirements-test.txt +2 -3
  6. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/directory.py +1 -1
  7. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_directory.py +2 -2
  8. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/PKG-INFO +5 -6
  9. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/requires.txt +4 -5
  10. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/.git-blame-ignore-revs +0 -0
  11. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/.gitignore +0 -0
  12. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/.pre-commit-config.yaml +0 -0
  13. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/AUTHORS +0 -0
  14. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/CODE_OF_CONDUCT.md +0 -0
  15. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/CONTRIBUTORS +0 -0
  16. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/LICENSE +0 -0
  17. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/Makefile +0 -0
  18. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/README.rst +0 -0
  19. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/conftest.py +0 -0
  20. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/.gitignore +0 -0
  21. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/Makefile +0 -0
  22. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/_static/.placeholder +0 -0
  23. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/_templates/.placeholder +0 -0
  24. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/conf.py +0 -0
  25. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/docs/index.rst +0 -0
  26. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/requirements.txt +0 -0
  27. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/setup.cfg +0 -0
  28. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/__init__.py +0 -0
  29. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/archive_extract.py +0 -0
  30. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/converters.py +0 -0
  31. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/hgutil.py +0 -0
  32. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/identify.py +0 -0
  33. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/loader.py +0 -0
  34. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/py.typed +0 -0
  35. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tasks.py +0 -0
  36. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/__init__.py +0 -0
  37. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/conftest.py +0 -0
  38. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/anomad-d.tgz +0 -0
  39. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/build.py +0 -0
  40. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/example.json +0 -0
  41. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/example.sh +0 -0
  42. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/example.tgz +0 -0
  43. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/hello.json +0 -0
  44. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/hello.tgz +0 -0
  45. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/missing-filelog.sh +0 -0
  46. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/missing-filelog.tgz +0 -0
  47. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/multiple-heads.json +0 -0
  48. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/multiple-heads.sh +0 -0
  49. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/multiple-heads.tgz +0 -0
  50. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/the-sandbox.json +0 -0
  51. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/the-sandbox.tgz +0 -0
  52. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/transplant.json +0 -0
  53. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/data/transplant.tgz +0 -0
  54. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/loader_checker.py +0 -0
  55. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_converters.py +0 -0
  56. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_identify.py +0 -0
  57. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_loader.py +0 -0
  58. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_tasks.py +0 -0
  59. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/tests/test_tasks_directory.py +0 -0
  60. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh/loader/mercurial/utils.py +0 -0
  61. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/SOURCES.txt +0 -0
  62. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/dependency_links.txt +0 -0
  63. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/entry_points.txt +0 -0
  64. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/swh.loader.mercurial.egg-info/top_level.txt +0 -0
  65. {swh_loader_mercurial-3.6.1 → swh_loader_mercurial-3.6.2}/tox.ini +0 -0
@@ -1,5 +1,5 @@
1
1
  # Changes here will be overwritten by Copier
2
- _commit: v0.3.3
2
+ _commit: v0.3.4
3
3
  _src_path: https://gitlab.softwareheritage.org/swh/devel/swh-py-template.git
4
4
  description: Software Heritage Mercurial Loader
5
5
  distribution_name: swh-loader-mercurial
@@ -7,5 +7,5 @@ have_cli: true
7
7
  have_workers: false
8
8
  package_root: swh/loader/mercurial
9
9
  project_name: swh.loader.mercurial
10
- python_minimal_version: '3.7'
10
+ python_minimal_version: '3.9'
11
11
  readme_format: rst
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swh.loader.mercurial
3
- Version: 3.6.1
3
+ Version: 3.6.2
4
4
  Summary: Software Heritage Mercurial Loader
5
5
  Author-email: Software Heritage developers <swh-devel@inria.fr>
6
6
  Project-URL: Homepage, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial
@@ -25,7 +25,7 @@ Requires-Dist: mercurial
25
25
  Requires-Dist: swh.model>=6.13.0
26
26
  Requires-Dist: swh.storage>=2.4.1
27
27
  Requires-Dist: swh.scheduler>=0.0.39
28
- Requires-Dist: swh.loader.core>=5.18.1
28
+ Requires-Dist: swh.loader.core>=5.24.0
29
29
  Provides-Extra: testing
30
30
  Requires-Dist: click; extra == "testing"
31
31
  Requires-Dist: patool; extra == "testing"
@@ -35,15 +35,14 @@ Requires-Dist: mercurial; extra == "testing"
35
35
  Requires-Dist: swh.model>=6.13.0; extra == "testing"
36
36
  Requires-Dist: swh.storage>=2.4.1; extra == "testing"
37
37
  Requires-Dist: swh.scheduler>=0.0.39; extra == "testing"
38
- Requires-Dist: swh.loader.core>=5.18.1; extra == "testing"
38
+ Requires-Dist: swh.loader.core>=5.24.0; extra == "testing"
39
39
  Requires-Dist: celery-types; extra == "testing"
40
40
  Requires-Dist: pytest; extra == "testing"
41
41
  Requires-Dist: pytest-mock; extra == "testing"
42
- Requires-Dist: swh.core[http]>=0.0.61; extra == "testing"
43
- Requires-Dist: swh.loader.core[testing]>=5.18.1; extra == "testing"
42
+ Requires-Dist: swh.core[http]>=4.5.0; extra == "testing"
43
+ Requires-Dist: swh.loader.core[testing]>=5.24.0; extra == "testing"
44
44
  Requires-Dist: swh.scheduler[pytest]>=3.1.0; extra == "testing"
45
45
  Requires-Dist: swh.storage[pytest]>=3.1.0; extra == "testing"
46
- Requires-Dist: types-click; extra == "testing"
47
46
  Requires-Dist: types-deprecated; extra == "testing"
48
47
  Requires-Dist: types-python-dateutil; extra == "testing"
49
48
  Dynamic: license-file
@@ -85,8 +85,8 @@ ignore = [
85
85
  "W503" # line break before binary operator <https://github.com/psf/black/issues/52>
86
86
  ]
87
87
  max-line-length = 88
88
+ extend-exclude = ["build/"]
88
89
 
89
90
  [tool.pytest.ini_options]
90
91
  norecursedirs = "build docs .*"
91
- asyncio_mode = "strict"
92
92
  consider_namespace_packages = true
@@ -1,4 +1,4 @@
1
1
  swh.model >= 6.13.0
2
2
  swh.storage >= 2.4.1
3
3
  swh.scheduler >= 0.0.39
4
- swh.loader.core >= 5.18.1
4
+ swh.loader.core >= 5.24.0
@@ -1,10 +1,9 @@
1
1
  celery-types
2
2
  pytest
3
3
  pytest-mock
4
- swh.core[http] >= 0.0.61
5
- swh.loader.core[testing] >= 5.18.1
4
+ swh.core[http] >= 4.5.0
5
+ swh.loader.core[testing] >= 5.24.0
6
6
  swh.scheduler[pytest] >= 3.1.0
7
7
  swh.storage[pytest] >= 3.1.0
8
- types-click
9
8
  types-deprecated
10
9
  types-python-dateutil
@@ -95,7 +95,7 @@ class HgCheckoutLoader(BaseDirectoryLoader):
95
95
  ),
96
96
  branch_name: SnapshotBranch(
97
97
  target_type=SnapshotTargetType.DIRECTORY,
98
- target=self.directory.hash,
98
+ target=self.directory.id,
99
99
  ),
100
100
  }
101
101
  )
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2023 The Software Heritage developers
1
+ # Copyright (C) 2023-2025 The Software Heritage developers
2
2
  # See the AUTHORS file at the top-level directory of this distribution
3
3
  # License: GNU General Public License version 3, or any later version
4
4
  # See top-level LICENSE file for more information
@@ -8,7 +8,7 @@ from pathlib import Path
8
8
 
9
9
  import pytest
10
10
 
11
- from swh.loader.core.nar import Nar
11
+ from swh.core.nar import Nar
12
12
  from swh.loader.exception import NotFound
13
13
  from swh.loader.mercurial.directory import HgCheckoutLoader, clone_repository
14
14
  from swh.loader.mercurial.hgutil import repository
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swh.loader.mercurial
3
- Version: 3.6.1
3
+ Version: 3.6.2
4
4
  Summary: Software Heritage Mercurial Loader
5
5
  Author-email: Software Heritage developers <swh-devel@inria.fr>
6
6
  Project-URL: Homepage, https://gitlab.softwareheritage.org/swh/devel/swh-loader-mercurial
@@ -25,7 +25,7 @@ Requires-Dist: mercurial
25
25
  Requires-Dist: swh.model>=6.13.0
26
26
  Requires-Dist: swh.storage>=2.4.1
27
27
  Requires-Dist: swh.scheduler>=0.0.39
28
- Requires-Dist: swh.loader.core>=5.18.1
28
+ Requires-Dist: swh.loader.core>=5.24.0
29
29
  Provides-Extra: testing
30
30
  Requires-Dist: click; extra == "testing"
31
31
  Requires-Dist: patool; extra == "testing"
@@ -35,15 +35,14 @@ Requires-Dist: mercurial; extra == "testing"
35
35
  Requires-Dist: swh.model>=6.13.0; extra == "testing"
36
36
  Requires-Dist: swh.storage>=2.4.1; extra == "testing"
37
37
  Requires-Dist: swh.scheduler>=0.0.39; extra == "testing"
38
- Requires-Dist: swh.loader.core>=5.18.1; extra == "testing"
38
+ Requires-Dist: swh.loader.core>=5.24.0; extra == "testing"
39
39
  Requires-Dist: celery-types; extra == "testing"
40
40
  Requires-Dist: pytest; extra == "testing"
41
41
  Requires-Dist: pytest-mock; extra == "testing"
42
- Requires-Dist: swh.core[http]>=0.0.61; extra == "testing"
43
- Requires-Dist: swh.loader.core[testing]>=5.18.1; extra == "testing"
42
+ Requires-Dist: swh.core[http]>=4.5.0; extra == "testing"
43
+ Requires-Dist: swh.loader.core[testing]>=5.24.0; extra == "testing"
44
44
  Requires-Dist: swh.scheduler[pytest]>=3.1.0; extra == "testing"
45
45
  Requires-Dist: swh.storage[pytest]>=3.1.0; extra == "testing"
46
- Requires-Dist: types-click; extra == "testing"
47
46
  Requires-Dist: types-deprecated; extra == "testing"
48
47
  Requires-Dist: types-python-dateutil; extra == "testing"
49
48
  Dynamic: license-file
@@ -6,7 +6,7 @@ mercurial
6
6
  swh.model>=6.13.0
7
7
  swh.storage>=2.4.1
8
8
  swh.scheduler>=0.0.39
9
- swh.loader.core>=5.18.1
9
+ swh.loader.core>=5.24.0
10
10
 
11
11
  [testing]
12
12
  click
@@ -17,14 +17,13 @@ mercurial
17
17
  swh.model>=6.13.0
18
18
  swh.storage>=2.4.1
19
19
  swh.scheduler>=0.0.39
20
- swh.loader.core>=5.18.1
20
+ swh.loader.core>=5.24.0
21
21
  celery-types
22
22
  pytest
23
23
  pytest-mock
24
- swh.core[http]>=0.0.61
25
- swh.loader.core[testing]>=5.18.1
24
+ swh.core[http]>=4.5.0
25
+ swh.loader.core[testing]>=5.24.0
26
26
  swh.scheduler[pytest]>=3.1.0
27
27
  swh.storage[pytest]>=3.1.0
28
- types-click
29
28
  types-deprecated
30
29
  types-python-dateutil