2
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3
3
4
4
[GLOBAL ]
5
- pants_version = " 2.12 .0"
5
+ pants_version = " 2.13 .0"
6
6
backend_packages.add = [
7
7
" pants.backend.python" ,
8
8
" pants.backend.python.lint.docformatter" ,
@@ -16,16 +16,25 @@ backend_packages.add = [
16
16
# with minimal configuration. For more details, visit https://toolchain.com
17
17
18
18
plugins.add = [
19
- " toolchain.pants.plugin==0.20 .0" ,
19
+ " toolchain.pants.plugin==0.22 .0" ,
20
20
]
21
21
22
22
remote_cache_read = false
23
23
remote_cache_write = false
24
24
remote_store_address = " grpcs://cache.toolchain.com:443"
25
25
remote_auth_plugin = " toolchain.pants.auth.plugin:toolchain_auth_plugin"
26
26
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"
28
33
34
+ [buildsense ]
35
+ enable = false
36
+
37
+ # End Toolchain-specific configuration
29
38
30
39
[anonymous-telemetry ]
31
40
enabled = true
@@ -51,7 +60,7 @@ interpreter_constraints = [">=3.7"]
51
60
# `generate-lockfiles` goal for Pants to generate the lockfile for you, although in some
52
61
# situations you may need to manually generate it, as explained in the docs.
53
62
enable_resolves = true
54
- resolves = { python-default = " lockfile.txt " }
63
+ resolves = { python-default = " lockfile.lock " }
55
64
56
65
# Enable using the PEX lockfile format, which provides support for custom indexes, and
57
66
# improves performance for large repositories.
@@ -63,14 +72,3 @@ lockfile_generator = "pex"
63
72
# problematic system Pythons. See
64
73
# https://www.pantsbuild.org/docs/python-interpreter-compatibility#changing-the-interpreter-search-path.
65
74
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