vcsgraph 0.1.0__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.0 → vcsgraph-0.3.2}/Cargo.lock +35 -74
  2. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/Cargo.toml +2 -2
  3. {vcsgraph-0.1.0/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.0 → vcsgraph-0.3.2}/crates/graph/src/lib.rs +80 -54
  9. vcsgraph-0.3.2/crates/graph/src/parents_provider.rs +366 -0
  10. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph/src/test.rs +1 -1
  11. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph/src/tsort.rs +176 -174
  12. {vcsgraph-0.1.0 → 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.0 → vcsgraph-0.3.2}/pyproject.toml +5 -10
  15. {vcsgraph-0.1.0 → 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.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_graph.py +38 -20
  19. {vcsgraph-0.1.0 → vcsgraph-0.3.2/vcsgraph.egg-info}/PKG-INFO +4 -4
  20. {vcsgraph-0.1.0 → 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.0/.coveragerc +0 -7
  23. vcsgraph-0.1.0/.dockerignore +0 -2
  24. vcsgraph-0.1.0/.github/CODEOWNERS +0 -1
  25. vcsgraph-0.1.0/.github/dependabot.yaml +0 -18
  26. vcsgraph-0.1.0/.github/workflows/pythonpackage.yml +0 -48
  27. vcsgraph-0.1.0/.github/workflows/wheels.yaml +0 -137
  28. vcsgraph-0.1.0/.gitignore +0 -16
  29. vcsgraph-0.1.0/.mailmap +0 -5
  30. vcsgraph-0.1.0/.rsyncexclude +0 -23
  31. vcsgraph-0.1.0/.testr.conf +0 -4
  32. vcsgraph-0.1.0/CODE_OF_CONDUCT.md +0 -76
  33. vcsgraph-0.1.0/crates/graph/Cargo.toml +0 -20
  34. vcsgraph-0.1.0/crates/graph/src/parents_provider.rs +0 -75
  35. vcsgraph-0.1.0/crates/graph-py/src/lib.rs +0 -420
  36. vcsgraph-0.1.0/vcsgraph/.gitignore +0 -1
  37. vcsgraph-0.1.0/vcsgraph/graph.py +0 -1661
  38. vcsgraph-0.1.0/vcsgraph/known_graph.py +0 -370
  39. vcsgraph-0.1.0/vcsgraph.egg-info/requires.txt +0 -4
  40. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/COPYING.txt +0 -0
  41. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/MANIFEST.in +0 -0
  42. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/README.md +0 -0
  43. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/setup.cfg +0 -0
  44. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/setup.py +0 -0
  45. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/errors.py +0 -0
  46. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/py.typed +0 -0
  47. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/__init__.py +0 -0
  48. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_known_graph.py +0 -0
  49. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_tsort.py +0 -0
  50. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tsort.py +0 -0
  51. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph.egg-info/dependency_links.txt +0 -0
  52. {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph.egg-info/top_level.txt +0 -0
@@ -2,18 +2,13 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 4
4
4
 
5
- [[package]]
6
- name = "autocfg"
7
- version = "1.5.0"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
10
-
11
5
  [[package]]
12
6
  name = "graph-py"
13
- version = "3.3.9"
7
+ version = "0.3.2"
14
8
  dependencies = [
15
9
  "pyo3",
16
- "vcsgraph-graph",
10
+ "rustc-hash",
11
+ "vcs-graph",
17
12
  ]
18
13
 
19
14
  [[package]]
@@ -22,21 +17,6 @@ version = "0.5.0"
22
17
  source = "registry+https://github.com/rust-lang/crates.io-index"
23
18
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
24
19
 
25
- [[package]]
26
- name = "indoc"
27
- version = "2.0.6"
28
- source = "registry+https://github.com/rust-lang/crates.io-index"
29
- checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
30
-
31
- [[package]]
32
- name = "inventory"
33
- version = "0.3.21"
34
- source = "registry+https://github.com/rust-lang/crates.io-index"
35
- checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
36
- dependencies = [
37
- "rustversion",
38
- ]
39
-
40
20
  [[package]]
41
21
  name = "lazy_static"
42
22
  version = "1.5.0"
@@ -45,9 +25,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
45
25
 
46
26
  [[package]]
47
27
  name = "libc"
48
- version = "0.2.175"
28
+ version = "0.2.186"
49
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
50
- checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
30
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
51
31
 
52
32
  [[package]]
53
33
  name = "maplit"
@@ -55,69 +35,55 @@ version = "1.0.2"
55
35
  source = "registry+https://github.com/rust-lang/crates.io-index"
56
36
  checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
57
37
 
58
- [[package]]
59
- name = "memoffset"
60
- version = "0.9.1"
61
- source = "registry+https://github.com/rust-lang/crates.io-index"
62
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
63
- dependencies = [
64
- "autocfg",
65
- ]
66
-
67
38
  [[package]]
68
39
  name = "once_cell"
69
- version = "1.21.3"
40
+ version = "1.21.4"
70
41
  source = "registry+https://github.com/rust-lang/crates.io-index"
71
- checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
42
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
72
43
 
73
44
  [[package]]
74
45
  name = "portable-atomic"
75
- version = "1.11.1"
46
+ version = "1.13.1"
76
47
  source = "registry+https://github.com/rust-lang/crates.io-index"
77
- checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
48
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
78
49
 
79
50
  [[package]]
80
51
  name = "proc-macro2"
81
- version = "1.0.101"
52
+ version = "1.0.106"
82
53
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
- checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
54
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
84
55
  dependencies = [
85
56
  "unicode-ident",
86
57
  ]
87
58
 
88
59
  [[package]]
89
60
  name = "pyo3"
90
- version = "0.25.1"
61
+ version = "0.28.3"
91
62
  source = "registry+https://github.com/rust-lang/crates.io-index"
92
- checksum = "8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a"
63
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
93
64
  dependencies = [
94
- "indoc",
95
- "inventory",
96
65
  "libc",
97
- "memoffset",
98
66
  "once_cell",
99
67
  "portable-atomic",
100
68
  "pyo3-build-config",
101
69
  "pyo3-ffi",
102
70
  "pyo3-macros",
103
- "unindent",
104
71
  ]
105
72
 
106
73
  [[package]]
107
74
  name = "pyo3-build-config"
108
- version = "0.25.1"
75
+ version = "0.28.3"
109
76
  source = "registry+https://github.com/rust-lang/crates.io-index"
110
- checksum = "458eb0c55e7ece017adeba38f2248ff3ac615e53660d7c71a238d7d2a01c7598"
77
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
111
78
  dependencies = [
112
- "once_cell",
113
79
  "target-lexicon",
114
80
  ]
115
81
 
116
82
  [[package]]
117
83
  name = "pyo3-ffi"
118
- version = "0.25.1"
84
+ version = "0.28.3"
119
85
  source = "registry+https://github.com/rust-lang/crates.io-index"
120
- checksum = "7114fe5457c61b276ab77c5055f206295b812608083644a5c5b2640c3102565c"
86
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
121
87
  dependencies = [
122
88
  "libc",
123
89
  "pyo3-build-config",
@@ -125,9 +91,9 @@ dependencies = [
125
91
 
126
92
  [[package]]
127
93
  name = "pyo3-macros"
128
- version = "0.25.1"
94
+ version = "0.28.3"
129
95
  source = "registry+https://github.com/rust-lang/crates.io-index"
130
- checksum = "a8725c0a622b374d6cb051d11a0983786448f7785336139c3c94f5aa6bef7e50"
96
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
131
97
  dependencies = [
132
98
  "proc-macro2",
133
99
  "pyo3-macros-backend",
@@ -137,9 +103,9 @@ dependencies = [
137
103
 
138
104
  [[package]]
139
105
  name = "pyo3-macros-backend"
140
- version = "0.25.1"
106
+ version = "0.28.3"
141
107
  source = "registry+https://github.com/rust-lang/crates.io-index"
142
- checksum = "4109984c22491085343c05b0dbc54ddc405c3cf7b4374fc533f5c3313a572ccc"
108
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
143
109
  dependencies = [
144
110
  "heck",
145
111
  "proc-macro2",
@@ -150,24 +116,24 @@ dependencies = [
150
116
 
151
117
  [[package]]
152
118
  name = "quote"
153
- version = "1.0.40"
119
+ version = "1.0.45"
154
120
  source = "registry+https://github.com/rust-lang/crates.io-index"
155
- checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
121
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
156
122
  dependencies = [
157
123
  "proc-macro2",
158
124
  ]
159
125
 
160
126
  [[package]]
161
- name = "rustversion"
162
- version = "1.0.22"
127
+ name = "rustc-hash"
128
+ version = "2.1.2"
163
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
164
- checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
130
+ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
165
131
 
166
132
  [[package]]
167
133
  name = "syn"
168
- version = "2.0.106"
134
+ version = "2.0.117"
169
135
  source = "registry+https://github.com/rust-lang/crates.io-index"
170
- checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
136
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
171
137
  dependencies = [
172
138
  "proc-macro2",
173
139
  "quote",
@@ -176,27 +142,22 @@ dependencies = [
176
142
 
177
143
  [[package]]
178
144
  name = "target-lexicon"
179
- version = "0.13.2"
145
+ version = "0.13.5"
180
146
  source = "registry+https://github.com/rust-lang/crates.io-index"
181
- checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
147
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
182
148
 
183
149
  [[package]]
184
150
  name = "unicode-ident"
185
- version = "1.0.18"
186
- source = "registry+https://github.com/rust-lang/crates.io-index"
187
- checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
188
-
189
- [[package]]
190
- name = "unindent"
191
- version = "0.2.4"
151
+ version = "1.0.24"
192
152
  source = "registry+https://github.com/rust-lang/crates.io-index"
193
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
153
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
194
154
 
195
155
  [[package]]
196
- name = "vcsgraph-graph"
197
- version = "3.4.0"
156
+ name = "vcs-graph"
157
+ version = "3.6.0"
198
158
  dependencies = [
199
159
  "lazy_static",
200
160
  "maplit",
201
161
  "pyo3",
162
+ "rustc-hash",
202
163
  ]
@@ -3,9 +3,9 @@ members = ["crates/*"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "0.1.0"
6
+ version = "0.3.2"
7
7
  edition = "2021"
8
8
  rust-version = "1.60"
9
9
 
10
10
  [workspace.dependencies]
11
- pyo3 = { version = "=0.25", features = ["multiple-pymethods"] }
11
+ pyo3 = { version = "=0.28" }
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vcsgraph
3
- Version: 0.1.0
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.17.1; extra == "dev"
10
- Requires-Dist: ruff==0.12.1; 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"]