Skip to content

Commit 070231d

Browse files
authored
updates Pants versions used for integration testing (#122)
Changes to the Pants versions used for integration testing: - 2.30.x: Add Pants 2.30.0rc0 to the integration test. This version is also used for the plugin's own Pants version. - 2.29.x: Upgrade to Pants v2.29.1. - 2.28.x: Upgrade to Pants v2.28.1. - 2.27.x / 2.26.x: Remove testing of the plugin with Pants v2.27.x and v2.26.x since those versions are old now. Also upgrades Pex to v2.69.0 and the Pip version to be `latest` instead of pinning it to `25.0` which caused issues with v25.0 not being able to recognize `CPython<3.14` specifiers.
1 parent 74d528b commit 070231d

File tree

16 files changed

+853
-2682
lines changed

16 files changed

+853
-2682
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
echo "ERROR: No wheel found in dist." 1>&2
4040
exit 1
4141
fi
42-
for pants_version in 2.29 2.28 2.27 2.26 ; do
42+
for pants_version in 2.30 2.29 2.28 ; do
4343
if [ ! -r dist/shoalsoft-pants-opentelemetry-plugin-pants${pants_version}-*.pex ]; then
44-
echo "ERROR: No PEX file found for Pants version $pants_version." 1>&2
44+
echo "ERROR: No PEX file found for Pants version ${pants_version}.x." 1>&2
4545
exit 1
4646
fi
4747
done

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77

88
*.code*
99
/.vscode
10+
11+
__pycache__

3rdparty/python/BUILD

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
python_requirements(
2-
name="pants-2.29",
3-
source="pants-2.29.txt",
4-
resolve="pants-2.29",
2+
name="pants-2.30",
3+
source="pants-2.30.txt",
4+
resolve="pants-2.30",
55
module_mapping={
66
"opentelemetry-proto": ["opentelemetry.proto"],
77
"pantsbuild.pants": ["pants"],
@@ -13,23 +13,9 @@ python_requirements(
1313
)
1414

1515
python_requirements(
16-
name="pants-2.28",
17-
source="pants-2.28.txt",
18-
resolve="pants-2.28",
19-
module_mapping={
20-
"opentelemetry-proto": ["opentelemetry.proto"],
21-
"pantsbuild.pants": ["pants"],
22-
"pantsbuild.pants.testutil": ["pants.testutil"],
23-
},
24-
type_stubs_module_mapping={
25-
"types-grpcio": ["grpc"],
26-
},
27-
)
28-
29-
python_requirements(
30-
name="pants-2.27",
31-
source="pants-2.27.txt",
32-
resolve="pants-2.27",
16+
name="pants-2.29",
17+
source="pants-2.29.txt",
18+
resolve="pants-2.29",
3319
module_mapping={
3420
"opentelemetry-proto": ["opentelemetry.proto"],
3521
"pantsbuild.pants": ["pants"],
@@ -41,9 +27,9 @@ python_requirements(
4127
)
4228

4329
python_requirements(
44-
name="pants-2.26",
45-
source="pants-2.26.txt",
46-
resolve="pants-2.26",
30+
name="pants-2.28",
31+
source="pants-2.28.txt",
32+
resolve="pants-2.28",
4733
module_mapping={
4834
"opentelemetry-proto": ["opentelemetry.proto"],
4935
"pantsbuild.pants": ["pants"],

3rdparty/python/mypy.lock

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
66
// {
7-
// "version": 3,
7+
// "version": 5,
88
// "valid_for_interpreter_constraints": [
99
// "CPython==3.11.*"
1010
// ],
@@ -14,7 +14,10 @@
1414
// "manylinux": "manylinux2014",
1515
// "requirement_constraints": [],
1616
// "only_binary": [],
17-
// "no_binary": []
17+
// "no_binary": [],
18+
// "excludes": [],
19+
// "overrides": [],
20+
// "sources": []
1821
// }
1922
// --- END PANTS LOCKFILE METADATA ---
2023

@@ -122,19 +125,19 @@
122125
"artifacts": [
123126
{
124127
"algorithm": "sha256",
125-
"hash": "d1e1e3b58374dc93031d6eda2420a48ea44a36c2b4766a4fdeb3710755731d76",
126-
"url": "https://files.pythonhosted.org/packages/b5/00/d631e67a838026495268c2f6884f3711a15a9a2a96cd244fdaea53b823fb/typing_extensions-4.14.1-py3-none-any.whl"
128+
"hash": "f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548",
129+
"url": "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl"
127130
},
128131
{
129132
"algorithm": "sha256",
130-
"hash": "38b39f4aeeab64884ce9f74c94263ef78f3c22467c8724005483154c26648d36",
131-
"url": "https://files.pythonhosted.org/packages/98/5a/da40306b885cc8c09109dc2e1abd358d5684b1425678151cdaed4731c822/typing_extensions-4.14.1.tar.gz"
133+
"hash": "0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466",
134+
"url": "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz"
132135
}
133136
],
134137
"project_name": "typing-extensions",
135138
"requires_dists": [],
136139
"requires_python": ">=3.9",
137-
"version": "4.14.1"
140+
"version": "4.15.0"
138141
}
139142
],
140143
"platform_tag": null
@@ -144,7 +147,7 @@
144147
"only_wheels": [],
145148
"overridden": [],
146149
"path_mappings": {},
147-
"pex_version": "2.40.2",
150+
"pex_version": "2.50.2",
148151
"pip_version": "25.0",
149152
"prefer_older_binary": false,
150153
"requirements": [

0 commit comments

Comments
 (0)