Skip to content

Commit

Permalink
test: update case to include a python version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jan 7, 2025
1 parent 340f76b commit f91ddcd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ func TestExtractor_Extract(t *testing.T) {
DepGroupVals: []string{},
},
},
{
Name: "proto-plus",
Version: "1.23.0",
Locations: []string{"testdata/multiple-packages.v2.lock"},
Metadata: osv.DepGroupMetadata{
DepGroupVals: []string{},
},
},
{
Name: "protobuf",
Version: "4.25.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ description = "Beautiful, Pythonic protocol buffers."
optional = false
python-versions = ">=3.6"
groups = ["main"]
markers = "python_version < \"3.10\""
files = [
{file = "proto-plus-1.22.0.tar.gz", hash = "sha256:c2e6693fdf68c405a6428226915a8625d21d0513793598ae3287a1210478d8ec"},
{file = "proto_plus-1.22.0-py3-none-any.whl", hash = "sha256:a27192d8cdc54e044f137b4c9053c9108cf5c065b46d067f1bcd389a911faf5b"},
Expand All @@ -66,6 +67,25 @@ protobuf = ">=3.19.0,<5.0.0dev"
[package.extras]
testing = ["google-api-core[grpc] (>=1.31.5)"]

[[package]]
name = "proto-plus"
version = "1.23.0"
description = "Beautiful, Pythonic protocol buffers."
optional = false
python-versions = ">=3.6"
groups = ["main"]
markers = "python_version >= \"3.10\""
files = [
{file = "proto-plus-1.23.0.tar.gz", hash = "sha256:89075171ef11988b3fa157f5dbd8b9cf09d65fffee97e29ce403cd8defba19d2"},
{file = "proto_plus-1.23.0-py3-none-any.whl", hash = "sha256:a829c79e619e1cf632de091013a4173deed13a55f326ef84f05af6f50ff4c82c"},
]

[package.dependencies]
protobuf = ">=3.19.0,<5.0.0dev"

[package.extras]
testing = ["google-api-core[grpc] (>=1.31.5)"]

[[package]]
name = "protobuf"
version = "4.25.5"
Expand Down Expand Up @@ -170,4 +190,4 @@ caching = ["redis"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.9"
content-hash = "b80bca1ee02b055316dd15ab627b201152c1e83c2f95652fe4932716d8e8c46b"
content-hash = "ab8a643d59b9404536d1a035b0f7324ca1e2b906b5a69cf6ae8321a65efc3870"

0 comments on commit f91ddcd

Please sign in to comment.