Skip to content

Commit

Permalink
Upgrade default version of pyupgrade to 2.34.0 (pantsbuild#15956)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf authored Jun 27, 2022
1 parent bf25e12 commit ae1c7f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions src/python/pants/backend/python/lint/pyupgrade/pyupgrade.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// "CPython<4,>=3.7"
// ],
// "generated_with_requirements": [
// "pyupgrade<2.32,>=2.31.0"
// "pyupgrade<2.35,>=2.33.0"
// ]
// }
// --- END PANTS LOCKFILE METADATA ---
Expand All @@ -27,21 +27,21 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "4060a7c20c79d373a3dcf34566b275c6de6cd2b034ad22465d3263fb0de82648",
"url": "https://files.pythonhosted.org/packages/87/c5/5db2c423c83b9369f5985d2a9ca9318524756c028b46ab1827e15807e306/pyupgrade-2.31.1-py2.py3-none-any.whl"
"hash": "16617805b8d1138f96a1ff9cdb4b302b39b51804b3fc5474dc36c0326387445a",
"url": "https://files.pythonhosted.org/packages/47/71/51fcb714ff40146f0af345c138486df6d411d6f626f189e623af327c2a3b/pyupgrade-2.34.0-py2.py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "22e0ad6dd39c4381805cb059f1e691b6315c62c0ebcec98a5f29d22cd186a72a",
"url": "https://files.pythonhosted.org/packages/93/5e/19f9c07a564e3e85f21d5b69b3373ba9559899e40422ddfcf0b7cff7d109/pyupgrade-2.31.1.tar.gz"
"hash": "ed0d9f282fa6282d0ca3bc0596a022aeb95435edab9daf3fc04c2ba118687b68",
"url": "https://files.pythonhosted.org/packages/67/23/f973126edfc98be98c821b4e4a12a6821aa1d81bb2e1af4ff8672a9b51a8/pyupgrade-2.34.0.tar.gz"
}
],
"project_name": "pyupgrade",
"requires_dists": [
"tokenize-rt>=3.2.0"
],
"requires_python": ">=3.7",
"version": "2.31.1"
"version": "2.34"
},
{
"artifacts": [
Expand All @@ -63,16 +63,17 @@
}
],
"platform_tag": [
"cp39",
"cp39",
"macosx_11_0_arm64"
"cp37",
"cp37m",
"manylinux_2_27_x86_64"
]
}
],
"pex_version": "2.1.72",
"path_mappings": {},
"pex_version": "2.1.90",
"prefer_older_binary": false,
"requirements": [
"pyupgrade<2.32,>=2.31.0"
"pyupgrade<2.35,>=2.33.0"
],
"requires_python": [
"<4,>=3.7"
Expand All @@ -81,4 +82,4 @@
"style": "universal",
"transitive": true,
"use_pep517": null
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PyUpgrade(PythonToolBase):
"Upgrade syntax for newer versions of the language (https://github.com/asottile/pyupgrade)."
)

default_version = "pyupgrade>=2.31.0,<2.32"
default_version = "pyupgrade>=2.33.0,<2.35"
default_main = ConsoleScript("pyupgrade")

register_interpreter_constraints = True
Expand Down

0 comments on commit ae1c7f4

Please sign in to comment.