Skip to content

Commit 675aeaa

Browse files
authored
Bump to Pants 2.11.0 and upgrade django to 3.2.13. (#23)
* Bump to Pants `2.11.0`. * Switch to PEX for lockfile generation. * Bump to django `3.2.13` to address https://github.com/pantsbuild/example-django/security/dependabot/11.
1 parent 5d87067 commit 675aeaa

File tree

6 files changed

+2613
-486
lines changed

6 files changed

+2613
-486
lines changed

Diff for: lockfiles/mypy.txt

+494-98
Large diffs are not rendered by default.

Diff for: lockfiles/pytest.txt

+662-107
Large diffs are not rendered by default.

Diff for: lockfiles/python-default.txt

+1,452-267
Large diffs are not rendered by default.

Diff for: pants.ci.toml

-11
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,3 @@
66
[GLOBAL]
77
dynamic_ui = false
88
colors = true
9-
10-
# Limit the maximum number of concurrent processes. Change this
11-
# to a number that makes sense for your CI setup, based on
12-
# the number of cores/threads.
13-
process_execution_local_parallelism = 2
14-
15-
[python]
16-
# Limit the maximum number of concurrent jobs used to resolve third
17-
# party dependencies. The total level of parallelism will be
18-
# `process_execution_local_parallelism x resolver_jobs`.
19-
resolver_jobs = 1

Diff for: pants.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
# Licensed under the Apache License, Version 2.0 (see LICENSE).
33

44
[GLOBAL]
5-
pants_version = "2.10.0"
6-
use_deprecated_python_macros = false
5+
pants_version = "2.11.0"
76

87
backend_packages.add = [
98
'pants.backend.python',
@@ -30,6 +29,9 @@ interpreter_constraints = [">=3.7"]
3029
# Use a lockfile. See https://www.pantsbuild.org/docs/python-third-party-dependencies.
3130
enable_resolves = true
3231
resolves = { python-default = "lockfiles/python-default.txt" }
32+
# Enable using the PEX lockfile format, which provides support for custom indexes, and
33+
# improves performance for large repositories.
34+
lockfile_generator = "pex"
3335

3436
[python-bootstrap]
3537
# We search for interpreters on both on the $PATH and in the `$(pyenv root)/versions` folder.

Diff for: requirements.txt

+1-1
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
ansicolors>=1.0.2
5-
django==3.2.3
5+
django>=3.2.13,<4
66
django-stubs>=1.10.0
77
gunicorn>=20.1.0
88
setuptools>=42.0.0

0 commit comments

Comments
 (0)