Skip to content

Commit 68387a9

Browse files
authored
Upgrade to 2.11.0rc5 (#100)
* Upgrade to `2.11.0rc5`. * Switch to `[python].lockfile_generator=pex`.
1 parent 93a76bc commit 68387a9

2 files changed

Lines changed: 135 additions & 32 deletions

File tree

lockfile.txt

Lines changed: 130 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,131 @@
1-
# This lockfile was autogenerated by Pants. To regenerate, run:
2-
#
3-
# ./pants generate-lockfiles --resolve=python-default
4-
#
5-
# --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
6-
# {
7-
# "version": 2,
8-
# "valid_for_interpreter_constraints": [
9-
# "CPython>=3.7"
10-
# ],
11-
# "generated_with_requirements": [
12-
# "ansicolors==1.1.8",
13-
# "setuptools<57,>=56.2.0",
14-
# "types-setuptools<58,>=56.2.0"
15-
# ]
16-
# }
17-
# --- END PANTS LOCKFILE METADATA ---
1+
// This lockfile was autogenerated by Pants. To regenerate, run:
2+
//
3+
// ./pants generate-lockfiles --resolve=python-default
4+
//
5+
// --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
6+
// {
7+
// "version": 2,
8+
// "valid_for_interpreter_constraints": [
9+
// "CPython>=3.7"
10+
// ],
11+
// "generated_with_requirements": [
12+
// "ansicolors==1.1.8",
13+
// "setuptools<57,>=56.2.0",
14+
// "types-setuptools<58,>=56.2.0"
15+
// ]
16+
// }
17+
// --- END PANTS LOCKFILE METADATA ---
1818

19-
ansicolors==1.1.8 \
20-
--hash=sha256:00d2dde5a675579325902536738dd27e4fac1fd68f773fe36c21044eb559e187 \
21-
--hash=sha256:99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0
22-
setuptools==56.2.0; python_version >= "3.6" \
23-
--hash=sha256:bc30153eec47d82f20c6f5e1a13d4ee725c6deb7013a67557f89bfe5d25235c4 \
24-
--hash=sha256:7bb5652625e94e73b9358b7ed8c6431b732e80cf31f4e0972294c64f0e5b849e
25-
types-setuptools==57.4.9 \
26-
--hash=sha256:536ef74744f8e1e4be4fc719887f886e74e4cf3c792b4a06984320be4df450b5 \
27-
--hash=sha256:948dc6863373750e2cd0b223a84f1fb608414cde5e55cf38ea657b93aeb411d2
19+
{
20+
"allow_builds": true,
21+
"allow_prereleases": false,
22+
"allow_wheels": true,
23+
"build_isolation": true,
24+
"constraints": [],
25+
"locked_resolves": [
26+
{
27+
"locked_requirements": [
28+
{
29+
"artifacts": [
30+
{
31+
"algorithm": "sha256",
32+
"hash": "00d2dde5a675579325902536738dd27e4fac1fd68f773fe36c21044eb559e187",
33+
"url": "https://files.pythonhosted.org/packages/53/18/a56e2fe47b259bb52201093a3a9d4a32014f9d85071ad07e9d60600890ca/ansicolors-1.1.8-py2.py3-none-any.whl"
34+
},
35+
{
36+
"algorithm": "sha256",
37+
"hash": "99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0",
38+
"url": "https://files.pythonhosted.org/packages/76/31/7faed52088732704523c259e24c26ce6f2f33fbeff2ff59274560c27628e/ansicolors-1.1.8.zip"
39+
}
40+
],
41+
"project_name": "ansicolors",
42+
"requires_dists": [],
43+
"requires_python": null,
44+
"version": "1.1.8"
45+
},
46+
{
47+
"artifacts": [
48+
{
49+
"algorithm": "sha256",
50+
"hash": "bc30153eec47d82f20c6f5e1a13d4ee725c6deb7013a67557f89bfe5d25235c4",
51+
"url": "https://files.pythonhosted.org/packages/d0/15/5041473f5d142ee93bf1593deb8f932e27a078f6f04e2020cf44044f72c5/setuptools-56.2.0-py3-none-any.whl"
52+
},
53+
{
54+
"algorithm": "sha256",
55+
"hash": "7bb5652625e94e73b9358b7ed8c6431b732e80cf31f4e0972294c64f0e5b849e",
56+
"url": "https://files.pythonhosted.org/packages/fc/0a/b486efab52f8ad03c3eca0c998dd3deafba0c39b29e0c49c68a7152c8b2d/setuptools-56.2.0.tar.gz"
57+
}
58+
],
59+
"project_name": "setuptools",
60+
"requires_dists": [
61+
"certifi==2016.9.26; extra == \"certs\"",
62+
"flake8-2020; extra == \"testing\"",
63+
"jaraco.envs; extra == \"testing\"",
64+
"jaraco.packaging>=8.2; extra == \"docs\"",
65+
"jaraco.path>=3.2.0; extra == \"testing\"",
66+
"mock; extra == \"testing\"",
67+
"paver; extra == \"testing\"",
68+
"pip>=19.1; extra == \"testing\"",
69+
"pygments-github-lexers==0.0.5; extra == \"docs\"",
70+
"pytest-black>=0.3.7; (platform_python_implementation != \"PyPy\" and python_version < \"3.10\") and extra == \"testing\"",
71+
"pytest-checkdocs>=2.4; extra == \"testing\"",
72+
"pytest-cov; extra == \"testing\"",
73+
"pytest-enabler>=1.0.1; extra == \"testing\"",
74+
"pytest-flake8; extra == \"testing\"",
75+
"pytest-mypy; (platform_python_implementation != \"PyPy\" and python_version < \"3.10\") and extra == \"testing\"",
76+
"pytest-virtualenv>=1.2.7; extra == \"testing\"",
77+
"pytest-xdist; extra == \"testing\"",
78+
"pytest>=4.6; extra == \"testing\"",
79+
"rst.linker>=1.9; extra == \"docs\"",
80+
"sphinx-inline-tabs; extra == \"docs\"",
81+
"sphinx; extra == \"docs\"",
82+
"sphinx; extra == \"testing\"",
83+
"virtualenv>=13.0.0; extra == \"testing\"",
84+
"wheel; extra == \"testing\"",
85+
"wincertstore==0.2; sys_platform == \"win32\" and extra == \"ssl\""
86+
],
87+
"requires_python": ">=3.6",
88+
"version": "56.2"
89+
},
90+
{
91+
"artifacts": [
92+
{
93+
"algorithm": "sha256",
94+
"hash": "828f7e7e51e157876f47c80518b23ba0c3c36aa8081efd39d5d39f393938aec9",
95+
"url": "https://files.pythonhosted.org/packages/c8/0d/6c9eb15fd4f6f45973ff1c70c170f2c30803415874e2e47c92eeae509085/types_setuptools-57.4.14-py3-none-any.whl"
96+
},
97+
{
98+
"algorithm": "sha256",
99+
"hash": "df02fe1dd244f58cf4e67cfc3d0a97930a2d61a72dd89f21d81c71017cd83f9a",
100+
"url": "https://files.pythonhosted.org/packages/42/2e/d21d995feca499eac401958fee97879926249e60b8e5608f0361f0ee2ae1/types-setuptools-57.4.14.tar.gz"
101+
}
102+
],
103+
"project_name": "types-setuptools",
104+
"requires_dists": [],
105+
"requires_python": null,
106+
"version": "57.4.14"
107+
}
108+
],
109+
"platform_tag": [
110+
"cp36",
111+
"cp36m",
112+
"macosx_10_16_x86_64"
113+
]
114+
}
115+
],
116+
"path_mappings": {},
117+
"pex_version": "2.1.80",
118+
"prefer_older_binary": false,
119+
"requirements": [
120+
"ansicolors==1.1.8",
121+
"setuptools<57,>=56.2.0",
122+
"types-setuptools<58,>=56.2.0"
123+
],
124+
"requires_python": [
125+
">=3.7"
126+
],
127+
"resolver_version": "pip-2020-resolver",
128+
"style": "universal",
129+
"transitive": true,
130+
"use_pep517": null
131+
}

pants.toml

Lines changed: 5 additions & 6 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.10.0"
5+
pants_version = "2.11.0rc5"
66
backend_packages.add = [
77
"pants.backend.python",
88
"pants.backend.python.lint.docformatter",
@@ -12,11 +12,6 @@ backend_packages.add = [
1212
"pants.backend.python.typecheck.mypy",
1313
]
1414

15-
# This will become the default in 2.11, and is only explicitly set to not break
16-
# backwards-compatibility for existing users. If you are setting up Pants for
17-
# the first time, set this to false.
18-
use_deprecated_python_macros = false
19-
2015
[anonymous-telemetry]
2116
enabled = true
2217
repo_id = "3B1D361B-E9F1-49A8-B761-03DCC41FD58E"
@@ -43,6 +38,10 @@ interpreter_constraints = [">=3.7"]
4338
enable_resolves = true
4439
resolves = { python-default = "lockfile.txt"}
4540

41+
# Enable using the PEX lockfile format, which provides support for custom indexes, and
42+
# improves performance for large repositories.
43+
lockfile_generator = "pex"
44+
4645
[python-bootstrap]
4746
# We search for interpreters both on the $PATH and in the `$(pyenv root)/versions` folder.
4847
# If you're using macOS, you may want to leave off the <PATH> entry to avoid using the

0 commit comments

Comments
 (0)