Skip to content

Commit 93b8e8d

Browse files
authored
Modernise (#12)
* [bazel] modernize score_tooling Replace the individual score_* tooling repos with score_tooling, which is the current method to use score-specific checks. * [pip] update dependency lock files Update the pip dependency lock files. The main purpose is to update urllib to 2.6.2, which includes fixes for security vulnerabilities, reported by pip-audit.
1 parent 3ad3a74 commit 93b8e8d

8 files changed

Lines changed: 2009 additions & 1816 deletions

BUILD

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
load("@score_cr_checker//:cr_checker.bzl", "copyright_checker")
14-
load("@score_dash_license_checker//:dash.bzl", "dash_license_checker")
15-
load("@score_format_checker//:macros.bzl", "use_format_targets")
13+
load("@score_tooling//:defs.bzl", "copyright_checker", "dash_license_checker", "use_format_targets")
1614
load("//:project_config.bzl", "PROJECT_CONFIG")
1715

1816
copyright_checker(
@@ -26,8 +24,8 @@ copyright_checker(
2624
"//:BUILD",
2725
"//:MODULE.bazel",
2826
],
29-
config = "@score_cr_checker//resources:config",
30-
template = "@score_cr_checker//resources:templates",
27+
config = "@score_tooling//cr_checker/resources:config",
28+
template = "@score_tooling//cr_checker/resources:templates",
3129
visibility = ["//visibility:public"],
3230
)
3331

MODULE.bazel

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,13 @@ module(
1717
repo_name = "bazel_tools_python",
1818
)
1919

20-
# Checker rule for CopyRight checks/fixs
21-
bazel_dep(name = "score_cr_checker", version = "0.3.1", dev_dependency = True)
22-
bazel_dep(name = "score_python_basics", version = "0.3.4", dev_dependency = True)
23-
24-
# Dash license checker
25-
bazel_dep(name = "score_dash_license_checker", version = "0.1.2", dev_dependency = True)
26-
2720
# Format checker
2821
bazel_dep(name = "score_format_checker", version = "0.1.1", dev_dependency = True)
2922
bazel_dep(name = "aspect_rules_lint", version = "1.4.4", dev_dependency = True)
3023
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2", dev_dependency = True)
3124

3225
# docs-as-code
33-
bazel_dep(name = "score_docs_as_code", version = "1.0.1", dev_dependency = True)
26+
bazel_dep(name = "score_tooling", version = "1.0.4", dev_dependency = True)
3427
bazel_dep(name = "platforms", version = "0.0.11", dev_dependency = True)
3528

3629
# Unfortunately bazel_skylib can not be dev_dependency because we use some of its libraries.

SECURITY.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ The following table lists all known vulnerabilities that could not be fixed:
5555

5656
| Package | Vulnerability ID | Vulnerable Version | Fixed Version | Python Version | Reason |
5757
| ---------- | ------------------- | ------------------ | ------------- | -------------- | ------------------------------------ |
58-
| urllib3 | GHSA-48p4-8xcf-vxj5 | 2.2.3 | 2.5.0 | 3.8 | Fixed package requires Python >= 3.9 |
59-
| urllib3 | GHSA-pq67-6m6q-mj2v | 2.2.3 | 2.5.0 | 3.8 | Fixed package requires Python >= 3.9 |
60-
| pip | GHSA-4xh5-x5gv-qwph | 25.0.1 | 25.3 | 3.8 | Fixed package requires Python >= 3.9 |
58+
| | | | | | |
6159

6260
### Vulnerable Python Versions
6361

third_party/pip/requirements_lock_3_10.txt

Lines changed: 474 additions & 439 deletions
Large diffs are not rendered by default.

third_party/pip/requirements_lock_3_11.txt

Lines changed: 428 additions & 403 deletions
Large diffs are not rendered by default.

third_party/pip/requirements_lock_3_12.txt

Lines changed: 428 additions & 403 deletions
Large diffs are not rendered by default.

third_party/pip/requirements_lock_3_8.txt

Lines changed: 172 additions & 128 deletions
Large diffs are not rendered by default.

third_party/pip/requirements_lock_3_9.txt

Lines changed: 502 additions & 427 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)