Skip to content

Commit a35b94b

Browse files
committed
Upgrade pants and toolchain pants plugin and rename lock file
1 parent e6cfdb4 commit a35b94b

File tree

2 files changed

+25
-27
lines changed

2 files changed

+25
-27
lines changed

lockfile.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,30 +91,26 @@
9191
"artifacts": [
9292
{
9393
"algorithm": "sha256",
94-
"hash": "828f7e7e51e157876f47c80518b23ba0c3c36aa8081efd39d5d39f393938aec9",
95-
"url": "https://files.pythonhosted.org/packages/c8/0d/6c9eb15fd4f6f45973ff1c70c170f2c30803415874e2e47c92eeae509085/types_setuptools-57.4.14-py3-none-any.whl"
94+
"hash": "9660b8774b12cd61b448e2fd87a667c02e7ec13ce9f15171f1d49a4654c4df6a",
95+
"url": "https://files.pythonhosted.org/packages/14/45/b8368a8c2d1dc4fa47eb4db980966e23edecbda16fab7a38186b076bbd4d/types_setuptools-57.4.18-py3-none-any.whl"
9696
},
9797
{
9898
"algorithm": "sha256",
99-
"hash": "df02fe1dd244f58cf4e67cfc3d0a97930a2d61a72dd89f21d81c71017cd83f9a",
100-
"url": "https://files.pythonhosted.org/packages/42/2e/d21d995feca499eac401958fee97879926249e60b8e5608f0361f0ee2ae1/types-setuptools-57.4.14.tar.gz"
99+
"hash": "8ee03d823fe7fda0bd35faeae33d35cb5c25b497263e6a58b34c4cfd05f40bcf",
100+
"url": "https://files.pythonhosted.org/packages/13/5e/3d46cd143913bd51dde973cd23b1d412de9662b08a3b8c213f26b265e6f1/types-setuptools-57.4.18.tar.gz"
101101
}
102102
],
103103
"project_name": "types-setuptools",
104104
"requires_dists": [],
105105
"requires_python": null,
106-
"version": "57.4.14"
106+
"version": "57.4.18"
107107
}
108108
],
109-
"platform_tag": [
110-
"cp36",
111-
"cp36m",
112-
"macosx_10_16_x86_64"
113-
]
109+
"platform_tag": null
114110
}
115111
],
116112
"path_mappings": {},
117-
"pex_version": "2.1.80",
113+
"pex_version": "2.1.102",
118114
"prefer_older_binary": false,
119115
"requirements": [
120116
"ansicolors==1.1.8",
@@ -126,6 +122,10 @@
126122
],
127123
"resolver_version": "pip-2020-resolver",
128124
"style": "universal",
125+
"target_systems": [
126+
"linux",
127+
"mac"
128+
],
129129
"transitive": true,
130130
"use_pep517": null
131-
}
131+
}

pants.toml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the Apache License, Version 2.0 (see LICENSE).
33

44
[GLOBAL]
5-
pants_version = "2.12.0"
5+
pants_version = "2.13.0"
66
backend_packages.add = [
77
"pants.backend.python",
88
"pants.backend.python.lint.docformatter",
@@ -16,16 +16,25 @@ backend_packages.add = [
1616
# with minimal configuration. For more details, visit https://toolchain.com
1717

1818
plugins.add = [
19-
"toolchain.pants.plugin==0.20.0",
19+
"toolchain.pants.plugin==0.22.0",
2020
]
2121

2222
remote_cache_read = false
2323
remote_cache_write = false
2424
remote_store_address = "grpcs://cache.toolchain.com:443"
2525
remote_auth_plugin = "toolchain.pants.auth.plugin:toolchain_auth_plugin"
2626

27-
# End Toolchain-specific configuration
27+
# Configuration for Toolchain instrumentation and remote caching
28+
# Visit https://toolchain.com and https://docs.toolchain.com/docs/getting-started-with-toolchain to enable and try it on your repository
29+
30+
[toolchain-setup]
31+
repo = "pants"
32+
org = "example-python"
2833

34+
[buildsense]
35+
enable = false
36+
37+
# End Toolchain-specific configuration
2938

3039
[anonymous-telemetry]
3140
enabled = true
@@ -51,7 +60,7 @@ interpreter_constraints = [">=3.7"]
5160
# `generate-lockfiles` goal for Pants to generate the lockfile for you, although in some
5261
# situations you may need to manually generate it, as explained in the docs.
5362
enable_resolves = true
54-
resolves = { python-default = "lockfile.txt"}
63+
resolves = { python-default = "lockfile.lock"}
5564

5665
# Enable using the PEX lockfile format, which provides support for custom indexes, and
5766
# improves performance for large repositories.
@@ -63,14 +72,3 @@ lockfile_generator = "pex"
6372
# problematic system Pythons. See
6473
# https://www.pantsbuild.org/docs/python-interpreter-compatibility#changing-the-interpreter-search-path.
6574
search_path = ["<PATH>", "<PYENV>"]
66-
67-
68-
# Configuration for Toolchain instrumentation and remote caching
69-
# Visit https://toolchain.com to enable and try it on your repository
70-
71-
[toolchain-setup]
72-
repo = "pants"
73-
org = "example-python"
74-
75-
[buildsense]
76-
enable = false

0 commit comments

Comments
 (0)