diff --git a/lockfile.txt b/lockfile.lock similarity index 86% rename from lockfile.txt rename to lockfile.lock index bc43916..d2987e5 100644 --- a/lockfile.txt +++ b/lockfile.lock @@ -91,30 +91,26 @@ "artifacts": [ { "algorithm": "sha256", - "hash": "828f7e7e51e157876f47c80518b23ba0c3c36aa8081efd39d5d39f393938aec9", - "url": "https://files.pythonhosted.org/packages/c8/0d/6c9eb15fd4f6f45973ff1c70c170f2c30803415874e2e47c92eeae509085/types_setuptools-57.4.14-py3-none-any.whl" + "hash": "9660b8774b12cd61b448e2fd87a667c02e7ec13ce9f15171f1d49a4654c4df6a", + "url": "https://files.pythonhosted.org/packages/14/45/b8368a8c2d1dc4fa47eb4db980966e23edecbda16fab7a38186b076bbd4d/types_setuptools-57.4.18-py3-none-any.whl" }, { "algorithm": "sha256", - "hash": "df02fe1dd244f58cf4e67cfc3d0a97930a2d61a72dd89f21d81c71017cd83f9a", - "url": "https://files.pythonhosted.org/packages/42/2e/d21d995feca499eac401958fee97879926249e60b8e5608f0361f0ee2ae1/types-setuptools-57.4.14.tar.gz" + "hash": "8ee03d823fe7fda0bd35faeae33d35cb5c25b497263e6a58b34c4cfd05f40bcf", + "url": "https://files.pythonhosted.org/packages/13/5e/3d46cd143913bd51dde973cd23b1d412de9662b08a3b8c213f26b265e6f1/types-setuptools-57.4.18.tar.gz" } ], "project_name": "types-setuptools", "requires_dists": [], "requires_python": null, - "version": "57.4.14" + "version": "57.4.18" } ], - "platform_tag": [ - "cp36", - "cp36m", - "macosx_10_16_x86_64" - ] + "platform_tag": null } ], "path_mappings": {}, - "pex_version": "2.1.80", + "pex_version": "2.1.102", "prefer_older_binary": false, "requirements": [ "ansicolors==1.1.8", @@ -126,6 +122,10 @@ ], "resolver_version": "pip-2020-resolver", "style": "universal", + "target_systems": [ + "linux", + "mac" + ], "transitive": true, "use_pep517": null -} \ No newline at end of file +} diff --git a/pants.toml b/pants.toml index 8ebde2d..4ebb6f2 100644 --- a/pants.toml +++ b/pants.toml @@ -2,7 +2,7 @@ # Licensed under the Apache License, Version 2.0 (see LICENSE). [GLOBAL] -pants_version = "2.12.0" +pants_version = "2.13.0" backend_packages.add = [ "pants.backend.python", "pants.backend.python.lint.docformatter", @@ -12,11 +12,13 @@ backend_packages.add = [ "pants.backend.python.typecheck.mypy", ] +use_deprecated_directory_cli_args_semantics = false + # Pants' sponsor, Toolchain, offers remote caching, which can improve your CI performance # with minimal configuration. For more details, visit https://toolchain.com plugins.add = [ - "toolchain.pants.plugin==0.20.0", + "toolchain.pants.plugin==0.22.0", ] remote_cache_read = false @@ -24,8 +26,16 @@ remote_cache_write = false remote_store_address = "grpcs://cache.toolchain.com:443" remote_auth_plugin = "toolchain.pants.auth.plugin:toolchain_auth_plugin" -# End Toolchain-specific configuration +# Configuration for Toolchain instrumentation and remote caching +# Visit https://toolchain.com and https://docs.toolchain.com/docs/getting-started-with-toolchain to enable and try it on your repository + +[toolchain-setup] +org = "pantsbuild" +repo = "example-python" +[buildsense] +enable = false +# End Toolchain-specific configuration [anonymous-telemetry] enabled = true @@ -51,7 +61,7 @@ interpreter_constraints = [">=3.7"] # `generate-lockfiles` goal for Pants to generate the lockfile for you, although in some # situations you may need to manually generate it, as explained in the docs. enable_resolves = true -resolves = { python-default = "lockfile.txt"} +resolves = { python-default = "lockfile.lock"} # Enable using the PEX lockfile format, which provides support for custom indexes, and # improves performance for large repositories. @@ -63,14 +73,3 @@ lockfile_generator = "pex" # problematic system Pythons. See # https://www.pantsbuild.org/docs/python-interpreter-compatibility#changing-the-interpreter-search-path. search_path = ["", ""] - - -# Configuration for Toolchain instrumentation and remote caching -# Visit https://toolchain.com to enable and try it on your repository - -[toolchain-setup] -repo = "pants" -org = "example-python" - -[buildsense] -enable = false