urlpattern 0.3.1__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.
@@ -1,7 +1,7 @@
1
- # This file is autogenerated by maturin v1.12.3
1
+ # This file is autogenerated by maturin v1.16.0
2
2
  # To update, run
3
3
  #
4
- # maturin generate-ci github
4
+ # maturin generate-ci github --output .github/workflows/CI.yml
5
5
  #
6
6
  name: CI
7
7
 
@@ -40,7 +40,7 @@ jobs:
40
40
  - uses: actions/checkout@v6
41
41
  - uses: actions/setup-python@v6
42
42
  with:
43
- python-version: 3.x
43
+ python-version: "3.9"
44
44
  - name: Build wheels
45
45
  uses: PyO3/maturin-action@v1
46
46
  with:
@@ -49,7 +49,7 @@ jobs:
49
49
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
50
50
  manylinux: auto
51
51
  - name: Upload wheels
52
- uses: actions/upload-artifact@v5
52
+ uses: actions/upload-artifact@v6
53
53
  with:
54
54
  name: wheels-linux-${{ matrix.platform.target }}
55
55
  path: dist
@@ -71,7 +71,7 @@ jobs:
71
71
  - uses: actions/checkout@v6
72
72
  - uses: actions/setup-python@v6
73
73
  with:
74
- python-version: 3.x
74
+ python-version: "3.9"
75
75
  - name: Build wheels
76
76
  uses: PyO3/maturin-action@v1
77
77
  with:
@@ -80,7 +80,7 @@ jobs:
80
80
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
81
81
  manylinux: musllinux_1_2
82
82
  - name: Upload wheels
83
- uses: actions/upload-artifact@v5
83
+ uses: actions/upload-artifact@v6
84
84
  with:
85
85
  name: wheels-musllinux-${{ matrix.platform.target }}
86
86
  path: dist
@@ -103,7 +103,7 @@ jobs:
103
103
  - uses: actions/checkout@v6
104
104
  - uses: actions/setup-python@v6
105
105
  with:
106
- python-version: 3.13
106
+ python-version: "3.13"
107
107
  architecture: ${{ matrix.platform.python_arch }}
108
108
  - name: Build wheels
109
109
  uses: PyO3/maturin-action@v1
@@ -112,7 +112,7 @@ jobs:
112
112
  args: --release --out dist --find-interpreter
113
113
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
114
114
  - name: Upload wheels
115
- uses: actions/upload-artifact@v5
115
+ uses: actions/upload-artifact@v6
116
116
  with:
117
117
  name: wheels-windows-${{ matrix.platform.target }}
118
118
  path: dist
@@ -130,7 +130,7 @@ jobs:
130
130
  - uses: actions/checkout@v6
131
131
  - uses: actions/setup-python@v6
132
132
  with:
133
- python-version: 3.x
133
+ python-version: "3.9"
134
134
  - name: Build wheels
135
135
  uses: PyO3/maturin-action@v1
136
136
  with:
@@ -138,7 +138,7 @@ jobs:
138
138
  args: --release --out dist --find-interpreter
139
139
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
140
140
  - name: Upload wheels
141
- uses: actions/upload-artifact@v5
141
+ uses: actions/upload-artifact@v6
142
142
  with:
143
143
  name: wheels-macos-${{ matrix.platform.target }}
144
144
  path: dist
@@ -153,7 +153,7 @@ jobs:
153
153
  command: sdist
154
154
  args: --out dist
155
155
  - name: Upload sdist
156
- uses: actions/upload-artifact@v5
156
+ uses: actions/upload-artifact@v6
157
157
  with:
158
158
  name: wheels-sdist
159
159
  path: dist
@@ -172,9 +172,9 @@ jobs:
172
172
  # Used to generate artifact attestation
173
173
  attestations: write
174
174
  steps:
175
- - uses: actions/download-artifact@v6
175
+ - uses: actions/download-artifact@v7
176
176
  - name: Generate artifact attestation
177
- uses: actions/attest-build-provenance@v3
177
+ uses: actions/attest@v4
178
178
  with:
179
179
  subject-path: 'wheels-*/*'
180
180
  - name: Install uv
@@ -63,10 +63,10 @@ coverage.xml
63
63
  docs/_build/
64
64
 
65
65
  # PyCharm
66
- # .idea/
66
+ .idea/
67
67
 
68
68
  # VSCode
69
- # .vscode/
69
+ .vscode/
70
70
 
71
71
  # Pyenv
72
72
  .python-version
@@ -4,18 +4,18 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "aho-corasick"
7
- version = "1.1.4"
7
+ version = "1.1.5"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
9
+ checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10
10
  dependencies = [
11
11
  "memchr",
12
12
  ]
13
13
 
14
14
  [[package]]
15
15
  name = "displaydoc"
16
- version = "0.2.6"
16
+ version = "0.2.7"
17
17
  source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
18
+ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
19
19
  dependencies = [
20
20
  "proc-macro2",
21
21
  "quote",
@@ -39,9 +39,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
39
39
 
40
40
  [[package]]
41
41
  name = "icu_collections"
42
- version = "2.2.0"
42
+ version = "2.4.0"
43
43
  source = "registry+https://github.com/rust-lang/crates.io-index"
44
- checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
44
+ checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd"
45
45
  dependencies = [
46
46
  "displaydoc",
47
47
  "potential_utf",
@@ -53,9 +53,9 @@ dependencies = [
53
53
 
54
54
  [[package]]
55
55
  name = "icu_locale_core"
56
- version = "2.2.0"
56
+ version = "2.4.0"
57
57
  source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
58
+ checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0"
59
59
  dependencies = [
60
60
  "displaydoc",
61
61
  "litemap",
@@ -66,9 +66,9 @@ dependencies = [
66
66
 
67
67
  [[package]]
68
68
  name = "icu_normalizer"
69
- version = "2.2.0"
69
+ version = "2.4.0"
70
70
  source = "registry+https://github.com/rust-lang/crates.io-index"
71
- checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
71
+ checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599"
72
72
  dependencies = [
73
73
  "icu_collections",
74
74
  "icu_normalizer_data",
@@ -80,16 +80,17 @@ dependencies = [
80
80
 
81
81
  [[package]]
82
82
  name = "icu_normalizer_data"
83
- version = "2.2.0"
83
+ version = "2.4.0"
84
84
  source = "registry+https://github.com/rust-lang/crates.io-index"
85
- checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
85
+ checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc"
86
86
 
87
87
  [[package]]
88
88
  name = "icu_properties"
89
- version = "2.2.0"
89
+ version = "2.4.0"
90
90
  source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
91
+ checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f"
92
92
  dependencies = [
93
+ "displaydoc",
93
94
  "icu_collections",
94
95
  "icu_locale_core",
95
96
  "icu_properties_data",
@@ -100,15 +101,15 @@ dependencies = [
100
101
 
101
102
  [[package]]
102
103
  name = "icu_properties_data"
103
- version = "2.2.0"
104
+ version = "2.4.0"
104
105
  source = "registry+https://github.com/rust-lang/crates.io-index"
105
- checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
106
+ checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf"
106
107
 
107
108
  [[package]]
108
109
  name = "icu_provider"
109
- version = "2.2.0"
110
+ version = "2.4.0"
110
111
  source = "registry+https://github.com/rust-lang/crates.io-index"
111
- checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
112
+ checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514"
112
113
  dependencies = [
113
114
  "displaydoc",
114
115
  "icu_locale_core",
@@ -142,21 +143,21 @@ dependencies = [
142
143
 
143
144
  [[package]]
144
145
  name = "libc"
145
- version = "0.2.186"
146
+ version = "0.2.191"
146
147
  source = "registry+https://github.com/rust-lang/crates.io-index"
147
- checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
148
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
148
149
 
149
150
  [[package]]
150
151
  name = "litemap"
151
- version = "0.8.2"
152
+ version = "0.8.3"
152
153
  source = "registry+https://github.com/rust-lang/crates.io-index"
153
- checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
154
+ checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
154
155
 
155
156
  [[package]]
156
157
  name = "memchr"
157
- version = "2.8.2"
158
+ version = "2.8.3"
158
159
  source = "registry+https://github.com/rust-lang/crates.io-index"
159
- checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
160
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
160
161
 
161
162
  [[package]]
162
163
  name = "once_cell"
@@ -172,33 +173,33 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
172
173
 
173
174
  [[package]]
174
175
  name = "portable-atomic"
175
- version = "1.13.1"
176
+ version = "1.15.0"
176
177
  source = "registry+https://github.com/rust-lang/crates.io-index"
177
- checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
178
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
178
179
 
179
180
  [[package]]
180
181
  name = "potential_utf"
181
- version = "0.1.5"
182
+ version = "0.1.6"
182
183
  source = "registry+https://github.com/rust-lang/crates.io-index"
183
- checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
184
+ checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
184
185
  dependencies = [
185
186
  "zerovec",
186
187
  ]
187
188
 
188
189
  [[package]]
189
190
  name = "proc-macro2"
190
- version = "1.0.106"
191
+ version = "1.0.107"
191
192
  source = "registry+https://github.com/rust-lang/crates.io-index"
192
- checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
193
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
193
194
  dependencies = [
194
195
  "unicode-ident",
195
196
  ]
196
197
 
197
198
  [[package]]
198
199
  name = "pyo3"
199
- version = "0.29.0"
200
+ version = "0.30.1"
200
201
  source = "registry+https://github.com/rust-lang/crates.io-index"
201
- checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
202
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
202
203
  dependencies = [
203
204
  "libc",
204
205
  "once_cell",
@@ -210,18 +211,18 @@ dependencies = [
210
211
 
211
212
  [[package]]
212
213
  name = "pyo3-build-config"
213
- version = "0.29.0"
214
+ version = "0.30.1"
214
215
  source = "registry+https://github.com/rust-lang/crates.io-index"
215
- checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
216
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
216
217
  dependencies = [
217
218
  "target-lexicon",
218
219
  ]
219
220
 
220
221
  [[package]]
221
222
  name = "pyo3-ffi"
222
- version = "0.29.0"
223
+ version = "0.30.1"
223
224
  source = "registry+https://github.com/rust-lang/crates.io-index"
224
- checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
225
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
225
226
  dependencies = [
226
227
  "libc",
227
228
  "pyo3-build-config",
@@ -229,9 +230,9 @@ dependencies = [
229
230
 
230
231
  [[package]]
231
232
  name = "pyo3-macros"
232
- version = "0.29.0"
233
+ version = "0.30.1"
233
234
  source = "registry+https://github.com/rust-lang/crates.io-index"
234
- checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
235
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
235
236
  dependencies = [
236
237
  "proc-macro2",
237
238
  "pyo3-macros-backend",
@@ -241,9 +242,9 @@ dependencies = [
241
242
 
242
243
  [[package]]
243
244
  name = "pyo3-macros-backend"
244
- version = "0.29.0"
245
+ version = "0.30.1"
245
246
  source = "registry+https://github.com/rust-lang/crates.io-index"
246
- checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
247
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
247
248
  dependencies = [
248
249
  "heck",
249
250
  "proc-macro2",
@@ -253,18 +254,18 @@ dependencies = [
253
254
 
254
255
  [[package]]
255
256
  name = "quote"
256
- version = "1.0.45"
257
+ version = "1.0.47"
257
258
  source = "registry+https://github.com/rust-lang/crates.io-index"
258
- checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
259
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
259
260
  dependencies = [
260
261
  "proc-macro2",
261
262
  ]
262
263
 
263
264
  [[package]]
264
265
  name = "regex"
265
- version = "1.12.4"
266
+ version = "1.13.1"
266
267
  source = "registry+https://github.com/rust-lang/crates.io-index"
267
- checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba"
268
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
268
269
  dependencies = [
269
270
  "aho-corasick",
270
271
  "memchr",
@@ -274,9 +275,9 @@ dependencies = [
274
275
 
275
276
  [[package]]
276
277
  name = "regex-automata"
277
- version = "0.4.14"
278
+ version = "0.4.18"
278
279
  source = "registry+https://github.com/rust-lang/crates.io-index"
279
- checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
280
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
280
281
  dependencies = [
281
282
  "aho-corasick",
282
283
  "memchr",
@@ -291,9 +292,9 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
291
292
 
292
293
  [[package]]
293
294
  name = "serde"
294
- version = "1.0.228"
295
+ version = "1.0.229"
295
296
  source = "registry+https://github.com/rust-lang/crates.io-index"
296
- checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
297
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
297
298
  dependencies = [
298
299
  "serde_core",
299
300
  "serde_derive",
@@ -301,18 +302,18 @@ dependencies = [
301
302
 
302
303
  [[package]]
303
304
  name = "serde_core"
304
- version = "1.0.228"
305
+ version = "1.0.229"
305
306
  source = "registry+https://github.com/rust-lang/crates.io-index"
306
- checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
307
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
307
308
  dependencies = [
308
309
  "serde_derive",
309
310
  ]
310
311
 
311
312
  [[package]]
312
313
  name = "serde_derive"
313
- version = "1.0.228"
314
+ version = "1.0.229"
314
315
  source = "registry+https://github.com/rust-lang/crates.io-index"
315
- checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
316
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
316
317
  dependencies = [
317
318
  "proc-macro2",
318
319
  "quote",
@@ -321,9 +322,9 @@ dependencies = [
321
322
 
322
323
  [[package]]
323
324
  name = "smallvec"
324
- version = "1.15.2"
325
+ version = "1.16.4"
325
326
  source = "registry+https://github.com/rust-lang/crates.io-index"
326
- checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
327
+ checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
327
328
 
328
329
  [[package]]
329
330
  name = "stable_deref_trait"
@@ -333,9 +334,9 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
333
334
 
334
335
  [[package]]
335
336
  name = "syn"
336
- version = "2.0.117"
337
+ version = "3.0.9"
337
338
  source = "registry+https://github.com/rust-lang/crates.io-index"
338
- checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
339
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
339
340
  dependencies = [
340
341
  "proc-macro2",
341
342
  "quote",
@@ -344,9 +345,9 @@ dependencies = [
344
345
 
345
346
  [[package]]
346
347
  name = "synstructure"
347
- version = "0.13.2"
348
+ version = "0.14.0"
348
349
  source = "registry+https://github.com/rust-lang/crates.io-index"
349
- checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
350
+ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
350
351
  dependencies = [
351
352
  "proc-macro2",
352
353
  "quote",
@@ -361,9 +362,9 @@ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
361
362
 
362
363
  [[package]]
363
364
  name = "tinystr"
364
- version = "0.8.3"
365
+ version = "0.8.5"
365
366
  source = "registry+https://github.com/rust-lang/crates.io-index"
366
- checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
367
+ checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a"
367
368
  dependencies = [
368
369
  "displaydoc",
369
370
  "zerovec",
@@ -371,9 +372,9 @@ dependencies = [
371
372
 
372
373
  [[package]]
373
374
  name = "unicode-ident"
374
- version = "1.0.24"
375
+ version = "1.0.27"
375
376
  source = "registry+https://github.com/rust-lang/crates.io-index"
376
- checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
377
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
377
378
 
378
379
  [[package]]
379
380
  name = "url"
@@ -389,7 +390,7 @@ dependencies = [
389
390
 
390
391
  [[package]]
391
392
  name = "urlpattern"
392
- version = "0.3.1"
393
+ version = "0.3.2"
393
394
  dependencies = [
394
395
  "pyo3",
395
396
  "regex",
@@ -411,21 +412,30 @@ dependencies = [
411
412
 
412
413
  [[package]]
413
414
  name = "utf8_iter"
414
- version = "1.0.4"
415
+ version = "1.1.0"
415
416
  source = "registry+https://github.com/rust-lang/crates.io-index"
416
- checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
417
+ checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0"
418
+ dependencies = [
419
+ "utf_types",
420
+ ]
421
+
422
+ [[package]]
423
+ name = "utf_types"
424
+ version = "1.0.0"
425
+ source = "registry+https://github.com/rust-lang/crates.io-index"
426
+ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6"
417
427
 
418
428
  [[package]]
419
429
  name = "writeable"
420
- version = "0.6.3"
430
+ version = "0.6.4"
421
431
  source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
432
+ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
423
433
 
424
434
  [[package]]
425
435
  name = "yoke"
426
- version = "0.8.3"
436
+ version = "0.8.4"
427
437
  source = "registry+https://github.com/rust-lang/crates.io-index"
428
- checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
438
+ checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3"
429
439
  dependencies = [
430
440
  "stable_deref_trait",
431
441
  "yoke-derive",
@@ -434,9 +444,9 @@ dependencies = [
434
444
 
435
445
  [[package]]
436
446
  name = "yoke-derive"
437
- version = "0.8.2"
447
+ version = "0.8.4"
438
448
  source = "registry+https://github.com/rust-lang/crates.io-index"
439
- checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
449
+ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
440
450
  dependencies = [
441
451
  "proc-macro2",
442
452
  "quote",
@@ -455,9 +465,9 @@ dependencies = [
455
465
 
456
466
  [[package]]
457
467
  name = "zerofrom-derive"
458
- version = "0.1.7"
468
+ version = "0.1.8"
459
469
  source = "registry+https://github.com/rust-lang/crates.io-index"
460
- checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
470
+ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
461
471
  dependencies = [
462
472
  "proc-macro2",
463
473
  "quote",
@@ -467,9 +477,9 @@ dependencies = [
467
477
 
468
478
  [[package]]
469
479
  name = "zerotrie"
470
- version = "0.2.4"
480
+ version = "0.2.5"
471
481
  source = "registry+https://github.com/rust-lang/crates.io-index"
472
- checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
482
+ checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
473
483
  dependencies = [
474
484
  "displaydoc",
475
485
  "yoke",
@@ -478,9 +488,9 @@ dependencies = [
478
488
 
479
489
  [[package]]
480
490
  name = "zerovec"
481
- version = "0.11.6"
491
+ version = "0.11.9"
482
492
  source = "registry+https://github.com/rust-lang/crates.io-index"
483
- checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
493
+ checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40"
484
494
  dependencies = [
485
495
  "yoke",
486
496
  "zerofrom",
@@ -489,9 +499,9 @@ dependencies = [
489
499
 
490
500
  [[package]]
491
501
  name = "zerovec-derive"
492
- version = "0.11.3"
502
+ version = "0.11.7"
493
503
  source = "registry+https://github.com/rust-lang/crates.io-index"
494
- checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
504
+ checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"
495
505
  dependencies = [
496
506
  "proc-macro2",
497
507
  "quote",
@@ -1,10 +1,10 @@
1
1
  [package]
2
2
  name = "urlpattern"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  authors = ["방성범 (Bang Seongbeom) <bangseongbeom@gmail.com>"]
5
5
  edition = "2024"
6
6
  description = "An implementation of the URL Pattern Standard for Python written in Rust."
7
- repository = "https://github.com/urlpattern/python-urlpattern"
7
+ repository = "https://github.com/bangseongbeom/python-urlpattern"
8
8
  license = "MIT"
9
9
  keywords = ["urlpattern"]
10
10
  categories = ["web-programming"]
@@ -16,7 +16,7 @@ name = "urlpattern"
16
16
  crate-type = ["cdylib"]
17
17
 
18
18
  [dependencies]
19
- pyo3 = "0.29.0"
20
- regex = "1.12.4"
19
+ pyo3 = "0.30.1"
20
+ regex = "1.13.1"
21
21
  url = "2.5.8"
22
22
  urlpattern = "0.6.0"
@@ -1,19 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: urlpattern
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
7
7
  Classifier: Operating System :: OS Independent
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3 :: Only
10
- Classifier: Programming Language :: Python :: 3.8
11
10
  Classifier: Programming Language :: Python :: 3.9
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
15
  Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Python :: 3.15
17
17
  Classifier: Programming Language :: Python :: Free Threading
18
18
  Classifier: Programming Language :: Python :: Implementation :: CPython
19
19
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -24,18 +24,18 @@ License-File: LICENSE
24
24
  Summary: An implementation of the URL Pattern Standard for Python written in Rust.
25
25
  Keywords: urlpattern
26
26
  Author-email: "방성범 (Bang Seongbeom)" <bangseongbeom@gmail.com>
27
- Requires-Python: >=3.8
27
+ Requires-Python: >=3.9
28
28
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
29
- Project-URL: Homepage, https://github.com/urlpattern/python-urlpattern
30
- Project-URL: Issues, https://github.com/urlpattern/python-urlpattern/issues
31
- Project-URL: Repository, https://github.com/urlpattern/python-urlpattern.git
29
+ Project-URL: Homepage, https://github.com/bangseongbeom/python-urlpattern
30
+ Project-URL: Issues, https://github.com/bangseongbeom/python-urlpattern/issues
31
+ Project-URL: Repository, https://github.com/bangseongbeom/python-urlpattern.git
32
32
 
33
33
  # urlpattern
34
34
 
35
35
  [![PyPI - Version](https://img.shields.io/pypi/v/urlpattern)](https://pypi.org/project/urlpattern/)
36
36
  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/urlpattern)](https://pypi.org/project/urlpattern/)
37
37
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
38
- [![CI](https://github.com/urlpattern/python-urlpattern/actions/workflows/CI.yml/badge.svg)](https://github.com/urlpattern/python-urlpattern/actions/workflows/CI.yml)
38
+ [![CI](https://github.com/bangseongbeom/python-urlpattern/actions/workflows/CI.yml/badge.svg)](https://github.com/bangseongbeom/python-urlpattern/actions/workflows/CI.yml)
39
39
 
40
40
  An implementation of [the URL Pattern Standard](https://urlpattern.spec.whatwg.org/) for Python written in Rust.
41
41
 
@@ -61,7 +61,7 @@ py -m pip install urlpattern
61
61
 
62
62
  ## Usage
63
63
 
64
- This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Python, not JavaScript. For the exact details, please refer to [urlpattern.pyi](https://github.com/urlpattern/python-urlpattern/blob/main/urlpattern.pyi).
64
+ This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Python, not JavaScript. For the exact details, please refer to [urlpattern.pyi](https://github.com/bangseongbeom/python-urlpattern/blob/main/urlpattern.pyi).
65
65
 
66
66
  Most JavaScript examples from [Chrome for Developers](https://developer.chrome.com/docs/web-platform/urlpattern) and [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API) can be adapted to Python without much difficulty.
67
67
 
@@ -182,7 +182,7 @@ with make_server("", 8000, app) as httpd:
182
182
 
183
183
  Due to limitations in the dependency [denoland/rust-urlpattern](https://github.com/denoland/rust-urlpattern), it may not support all features specified in [the standard](https://urlpattern.spec.whatwg.org/).
184
184
 
185
- Check `pytest.skip` in [`tests/test_lib.py`](https://github.com/urlpattern/python-urlpattern/blob/main/tests/test_lib.py).
185
+ Check `pytest.skip` in [`tests/test_lib.py`](https://github.com/bangseongbeom/python-urlpattern/blob/main/tests/test_lib.py).
186
186
 
187
187
  ## Why camelCase?
188
188
 
@@ -3,7 +3,7 @@
3
3
  [![PyPI - Version](https://img.shields.io/pypi/v/urlpattern)](https://pypi.org/project/urlpattern/)
4
4
  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/urlpattern)](https://pypi.org/project/urlpattern/)
5
5
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
6
- [![CI](https://github.com/urlpattern/python-urlpattern/actions/workflows/CI.yml/badge.svg)](https://github.com/urlpattern/python-urlpattern/actions/workflows/CI.yml)
6
+ [![CI](https://github.com/bangseongbeom/python-urlpattern/actions/workflows/CI.yml/badge.svg)](https://github.com/bangseongbeom/python-urlpattern/actions/workflows/CI.yml)
7
7
 
8
8
  An implementation of [the URL Pattern Standard](https://urlpattern.spec.whatwg.org/) for Python written in Rust.
9
9
 
@@ -29,7 +29,7 @@ py -m pip install urlpattern
29
29
 
30
30
  ## Usage
31
31
 
32
- This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Python, not JavaScript. For the exact details, please refer to [urlpattern.pyi](https://github.com/urlpattern/python-urlpattern/blob/main/urlpattern.pyi).
32
+ This library aims to expose an interface as close as possible to the URL Pattern Standard, but some differences are unavoidable because it is designed for Python, not JavaScript. For the exact details, please refer to [urlpattern.pyi](https://github.com/bangseongbeom/python-urlpattern/blob/main/urlpattern.pyi).
33
33
 
34
34
  Most JavaScript examples from [Chrome for Developers](https://developer.chrome.com/docs/web-platform/urlpattern) and [MDN](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API) can be adapted to Python without much difficulty.
35
35
 
@@ -150,7 +150,7 @@ with make_server("", 8000, app) as httpd:
150
150
 
151
151
  Due to limitations in the dependency [denoland/rust-urlpattern](https://github.com/denoland/rust-urlpattern), it may not support all features specified in [the standard](https://urlpattern.spec.whatwg.org/).
152
152
 
153
- Check `pytest.skip` in [`tests/test_lib.py`](https://github.com/urlpattern/python-urlpattern/blob/main/tests/test_lib.py).
153
+ Check `pytest.skip` in [`tests/test_lib.py`](https://github.com/bangseongbeom/python-urlpattern/blob/main/tests/test_lib.py).
154
154
 
155
155
  ## Why camelCase?
156
156
 
@@ -1,12 +1,12 @@
1
1
  [build-system]
2
- requires = ["maturin>=1.11,<2.0"]
2
+ requires = ["maturin>=1.15,<2.0"]
3
3
  build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "urlpattern"
7
7
  description = "An implementation of the URL Pattern Standard for Python written in Rust."
8
8
  readme = "README.md"
9
- requires-python = ">=3.8"
9
+ requires-python = ">=3.9"
10
10
  authors = [{ name = "방성범 (Bang Seongbeom)", email = "bangseongbeom@gmail.com" }]
11
11
  keywords = ["urlpattern"]
12
12
  classifiers = [
@@ -16,13 +16,13 @@ classifiers = [
16
16
  "Operating System :: OS Independent",
17
17
  "Programming Language :: Python :: 3",
18
18
  "Programming Language :: Python :: 3 :: Only",
19
- "Programming Language :: Python :: 3.8",
20
19
  "Programming Language :: Python :: 3.9",
21
20
  "Programming Language :: Python :: 3.10",
22
21
  "Programming Language :: Python :: 3.11",
23
22
  "Programming Language :: Python :: 3.12",
24
23
  "Programming Language :: Python :: 3.13",
25
24
  "Programming Language :: Python :: 3.14",
25
+ "Programming Language :: Python :: 3.15",
26
26
  "Programming Language :: Python :: Free Threading",
27
27
  "Programming Language :: Python :: Implementation :: CPython",
28
28
  "Programming Language :: Python :: Implementation :: PyPy",
@@ -33,6 +33,6 @@ classifiers = [
33
33
  dynamic = ["version"]
34
34
 
35
35
  [project.urls]
36
- Homepage = "https://github.com/urlpattern/python-urlpattern"
37
- Repository = "https://github.com/urlpattern/python-urlpattern.git"
38
- Issues = "https://github.com/urlpattern/python-urlpattern/issues"
36
+ Homepage = "https://github.com/bangseongbeom/python-urlpattern"
37
+ Repository = "https://github.com/bangseongbeom/python-urlpattern.git"
38
+ Issues = "https://github.com/bangseongbeom/python-urlpattern/issues"
@@ -1266,6 +1266,22 @@
1266
1266
  },
1267
1267
  "expected_match": null
1268
1268
  },
1269
+ {
1270
+ "pattern": [{ "protocol": "https", "port": "443*" }],
1271
+ "inputs": [{ "protocol": "https", "port": "4430" }],
1272
+ "expected_match": {
1273
+ "protocol": { "input": "https", "groups": {} },
1274
+ "port": { "input": "4430", "groups": { "0": "0" }}
1275
+ }
1276
+ },
1277
+ {
1278
+ "pattern": [{ "protocol": "https", "port": "*443" }],
1279
+ "inputs": [{ "protocol": "https", "port": "1443" }],
1280
+ "expected_match": {
1281
+ "protocol": { "input": "https", "groups": {} },
1282
+ "port": { "input": "1443", "groups": { "0": "1" }}
1283
+ }
1284
+ },
1269
1285
  {
1270
1286
  "pattern": [{ "pathname": "/foo/bar" }],
1271
1287
  "inputs": [{ "pathname": "/foo/./bar" }],
@@ -3154,5 +3170,12 @@
3154
3170
  "groups": {"0": "barbaz"}
3155
3171
  }
3156
3172
  }
3173
+ },
3174
+ {
3175
+ "pattern": [{ "pathname": "/:𠀀" }],
3176
+ "inputs": [{ "pathname": "/foo" }],
3177
+ "expected_match": {
3178
+ "pathname": { "input": "/foo", "groups": { "𠀀": "foo" } }
3179
+ }
3157
3180
  }
3158
3181
  ]
File without changes
File without changes
File without changes
File without changes
File without changes