vcsgraph 0.1.2__tar.gz → 0.3.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 (52) hide show
  1. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/Cargo.lock +24 -16
  2. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/Cargo.toml +1 -1
  3. {vcsgraph-0.1.2/vcsgraph.egg-info → vcsgraph-0.3.2}/PKG-INFO +4 -4
  4. vcsgraph-0.3.2/crates/graph/Cargo.toml +25 -0
  5. vcsgraph-0.3.2/crates/graph/src/bfs.rs +754 -0
  6. vcsgraph-0.3.2/crates/graph/src/graph.rs +2228 -0
  7. vcsgraph-0.3.2/crates/graph/src/known_graph.rs +1142 -0
  8. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/crates/graph/src/lib.rs +65 -40
  9. vcsgraph-0.3.2/crates/graph/src/parents_provider.rs +366 -0
  10. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/crates/graph/src/test.rs +1 -1
  11. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/crates/graph/src/tsort.rs +176 -174
  12. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/crates/graph-py/Cargo.toml +2 -1
  13. vcsgraph-0.3.2/crates/graph-py/src/lib.rs +2280 -0
  14. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/pyproject.toml +4 -3
  15. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/__init__.py +1 -1
  16. vcsgraph-0.3.2/vcsgraph/graph.py +338 -0
  17. vcsgraph-0.3.2/vcsgraph/known_graph.py +24 -0
  18. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/tests/test_graph.py +38 -20
  19. {vcsgraph-0.1.2 → vcsgraph-0.3.2/vcsgraph.egg-info}/PKG-INFO +4 -4
  20. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph.egg-info/SOURCES.txt +3 -12
  21. vcsgraph-0.3.2/vcsgraph.egg-info/requires.txt +4 -0
  22. vcsgraph-0.1.2/.coveragerc +0 -7
  23. vcsgraph-0.1.2/.dockerignore +0 -2
  24. vcsgraph-0.1.2/.github/CODEOWNERS +0 -1
  25. vcsgraph-0.1.2/.github/dependabot.yaml +0 -18
  26. vcsgraph-0.1.2/.github/workflows/pythonpackage.yml +0 -48
  27. vcsgraph-0.1.2/.github/workflows/wheels.yaml +0 -137
  28. vcsgraph-0.1.2/.gitignore +0 -16
  29. vcsgraph-0.1.2/.mailmap +0 -5
  30. vcsgraph-0.1.2/.rsyncexclude +0 -23
  31. vcsgraph-0.1.2/.testr.conf +0 -4
  32. vcsgraph-0.1.2/CODE_OF_CONDUCT.md +0 -76
  33. vcsgraph-0.1.2/crates/graph/Cargo.toml +0 -20
  34. vcsgraph-0.1.2/crates/graph/src/parents_provider.rs +0 -75
  35. vcsgraph-0.1.2/crates/graph-py/src/lib.rs +0 -425
  36. vcsgraph-0.1.2/vcsgraph/.gitignore +0 -1
  37. vcsgraph-0.1.2/vcsgraph/graph.py +0 -1661
  38. vcsgraph-0.1.2/vcsgraph/known_graph.py +0 -370
  39. vcsgraph-0.1.2/vcsgraph.egg-info/requires.txt +0 -4
  40. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/COPYING.txt +0 -0
  41. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/MANIFEST.in +0 -0
  42. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/README.md +0 -0
  43. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/setup.cfg +0 -0
  44. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/setup.py +0 -0
  45. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/errors.py +0 -0
  46. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/py.typed +0 -0
  47. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/tests/__init__.py +0 -0
  48. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/tests/test_known_graph.py +0 -0
  49. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/tests/test_tsort.py +0 -0
  50. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph/tsort.py +0 -0
  51. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph.egg-info/dependency_links.txt +0 -0
  52. {vcsgraph-0.1.2 → vcsgraph-0.3.2}/vcsgraph.egg-info/top_level.txt +0 -0
@@ -4,10 +4,11 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "graph-py"
7
- version = "0.1.2"
7
+ version = "0.3.2"
8
8
  dependencies = [
9
9
  "pyo3",
10
- "vcsgraph-graph",
10
+ "rustc-hash",
11
+ "vcs-graph",
11
12
  ]
12
13
 
13
14
  [[package]]
@@ -24,9 +25,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
24
25
 
25
26
  [[package]]
26
27
  name = "libc"
27
- version = "0.2.183"
28
+ version = "0.2.186"
28
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
29
- checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
30
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
30
31
 
31
32
  [[package]]
32
33
  name = "maplit"
@@ -57,9 +58,9 @@ dependencies = [
57
58
 
58
59
  [[package]]
59
60
  name = "pyo3"
60
- version = "0.28.2"
61
+ version = "0.28.3"
61
62
  source = "registry+https://github.com/rust-lang/crates.io-index"
62
- checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
63
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
63
64
  dependencies = [
64
65
  "libc",
65
66
  "once_cell",
@@ -71,18 +72,18 @@ dependencies = [
71
72
 
72
73
  [[package]]
73
74
  name = "pyo3-build-config"
74
- version = "0.28.2"
75
+ version = "0.28.3"
75
76
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
77
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
77
78
  dependencies = [
78
79
  "target-lexicon",
79
80
  ]
80
81
 
81
82
  [[package]]
82
83
  name = "pyo3-ffi"
83
- version = "0.28.2"
84
+ version = "0.28.3"
84
85
  source = "registry+https://github.com/rust-lang/crates.io-index"
85
- checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
86
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
86
87
  dependencies = [
87
88
  "libc",
88
89
  "pyo3-build-config",
@@ -90,9 +91,9 @@ dependencies = [
90
91
 
91
92
  [[package]]
92
93
  name = "pyo3-macros"
93
- version = "0.28.2"
94
+ version = "0.28.3"
94
95
  source = "registry+https://github.com/rust-lang/crates.io-index"
95
- checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
96
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
96
97
  dependencies = [
97
98
  "proc-macro2",
98
99
  "pyo3-macros-backend",
@@ -102,9 +103,9 @@ dependencies = [
102
103
 
103
104
  [[package]]
104
105
  name = "pyo3-macros-backend"
105
- version = "0.28.2"
106
+ version = "0.28.3"
106
107
  source = "registry+https://github.com/rust-lang/crates.io-index"
107
- checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
108
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
108
109
  dependencies = [
109
110
  "heck",
110
111
  "proc-macro2",
@@ -122,6 +123,12 @@ dependencies = [
122
123
  "proc-macro2",
123
124
  ]
124
125
 
126
+ [[package]]
127
+ name = "rustc-hash"
128
+ version = "2.1.2"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
131
+
125
132
  [[package]]
126
133
  name = "syn"
127
134
  version = "2.0.117"
@@ -146,10 +153,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
146
153
  checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
147
154
 
148
155
  [[package]]
149
- name = "vcsgraph-graph"
150
- version = "3.4.0"
156
+ name = "vcs-graph"
157
+ version = "3.6.0"
151
158
  dependencies = [
152
159
  "lazy_static",
153
160
  "maplit",
154
161
  "pyo3",
162
+ "rustc-hash",
155
163
  ]
@@ -3,7 +3,7 @@ members = ["crates/*"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "0.1.2"
6
+ version = "0.3.2"
7
7
  edition = "2021"
8
8
  rust-version = "1.60"
9
9
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vcsgraph
3
- Version: 0.1.2
3
+ Version: 0.3.2
4
4
  Summary: Graph algorithms for version control systems
5
- Requires-Python: >=3.9
5
+ Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: COPYING.txt
8
8
  Provides-Extra: dev
9
- Requires-Dist: mypy==1.19.1; extra == "dev"
10
- Requires-Dist: ruff==0.15.6; extra == "dev"
9
+ Requires-Dist: mypy==2.1.0; extra == "dev"
10
+ Requires-Dist: ruff==0.15.18; extra == "dev"
11
11
  Dynamic: license-file
12
12
 
13
13
  # vcsgraph
@@ -0,0 +1,25 @@
1
+ [package]
2
+ name = "vcs-graph"
3
+ version = "3.6.0"
4
+ authors = [ "Martin Packman <gzlist@googlemail.com>", "Jelmer Vernooij <jelmer@jelmer.uk>"]
5
+ edition = "2021"
6
+ description = "Graph algorithms for version control systems: topological sort, merge-aware sort, parent maps, and ancestry queries."
7
+ license = "GPL-2.0-or-later"
8
+ homepage = "https://www.breezy-vcs.org/"
9
+ repository = "https://github.com/breezy-team/vcsgraph"
10
+ readme = "README.md"
11
+ keywords = ["vcs", "graph", "toposort", "dag", "breezy"]
12
+ categories = ["algorithms", "data-structures"]
13
+
14
+ [lib]
15
+
16
+ [dependencies]
17
+ lazy_static = "1.4.0"
18
+ pyo3 = { workspace = true, optional = true }
19
+ rustc-hash = "2"
20
+
21
+ [dev-dependencies]
22
+ maplit = "1.0.2"
23
+
24
+ [features]
25
+ pyo3 = ["dep:pyo3"]