diff options
author | MicK7 <mickey.phy@gmail.com> | 2023-03-03 23:06:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 16:06:56 -0600 |
commit | 6b694749d337fcc17e5a902962aca4db4096ad61 (patch) | |
tree | 93b808f710031454f4bdf5881f51efc55defc038 | |
parent | c0f48b30cf0cedb542f7b209a119bdfafb9a31d3 (diff) | |
download | spack-6b694749d337fcc17e5a902962aca4db4096ad61.tar.gz spack-6b694749d337fcc17e5a902962aca4db4096ad61.tar.bz2 spack-6b694749d337fcc17e5a902962aca4db4096ad61.tar.xz spack-6b694749d337fcc17e5a902962aca4db4096ad61.zip |
Update python linting packages (#35811)
* add 2.14.2 py-astroid version
* add py-pylint 2.26.2
* fix black
* fix py-dill depends_on
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fix py-astroid minor versionning
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* modify typing_extensions depends_on
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-astroid/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pylint/package.py | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py index 626f81d2b0..160e3aa825 100644 --- a/var/spack/repos/builtin/packages/py-astroid/package.py +++ b/var/spack/repos/builtin/packages/py-astroid/package.py @@ -13,6 +13,7 @@ class PyAstroid(PythonPackage): homepage = "https://github.com/PyCQA/astroid" pypi = "astroid/astroid-2.8.3.tar.gz" + version("2.14.2", sha256="a3cf9f02c53dd259144a7e8f3ccd75d67c9a8c716ef183e0c1f291bc5d7bb3cf") version("2.12.10", sha256="81f870105d892e73bf535da77a8261aa5bde838fa4ed12bb2f435291a098c581") version("2.12.7", sha256="cd468be9d9d03d086d4d7e6643a59bfc025762d2c895e1e22cf21feced7bb148") version("2.11.6", sha256="4f933d0bf5e408b03a6feb5d23793740c27e07340605f236496cd6ce552043d6") @@ -61,6 +62,7 @@ class PyAstroid(PythonPackage): depends_on("py-typed-ast@1.4.0:1", when="@2.8.5: ^python@:3.7", type=("build", "run")) depends_on("py-typing-extensions@3.7.4:", when="@2.7.3: ^python@:3.7", type=("build", "run")) depends_on("py-typing-extensions@3.10:", when="@2.8.3: ^python@:3.9", type=("build", "run")) + depends_on("py-typing-extensions@4.0:", when="@2.14: ^python@:3.10", type=("build", "run")) depends_on("py-setuptools@17.1:", type=("build", "run")) depends_on("py-setuptools@20:", when="@2.7.3:", type=("build", "run")) depends_on("py-setuptools@62.6:62", when="@2.12.7:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-pylint/package.py b/var/spack/repos/builtin/packages/py-pylint/package.py index f97d71ef92..548f57c808 100644 --- a/var/spack/repos/builtin/packages/py-pylint/package.py +++ b/var/spack/repos/builtin/packages/py-pylint/package.py @@ -25,6 +25,7 @@ class PyPylint(PythonPackage): "pylint.reporters.ureports", ] + version("2.16.2", sha236="13b2c805a404a9bf57d002cd5f054ca4d40b0b87542bdaba5e05321ae8262c84") version("2.15.0", sha256="4f3f7e869646b0bd63b3dfb79f3c0f28fc3d2d923ea220d52620fd625aed92b0") version("2.14.4", sha256="47705453aa9dce520e123a7d51843d5f0032cbfa06870f89f00927aa1f735a4a") version("2.13.5", sha256="dab221658368c7a05242e673c275c488670144123f4bd262b2777249c1c0de9b") @@ -42,7 +43,9 @@ class PyPylint(PythonPackage): depends_on("py-setuptools@17.1:", type="build") depends_on("py-setuptools@62.6:62", when="@2.15.0:", type="build") depends_on("py-wheel@0.37.1:0.37", when="@2.15.0:", type="build") - depends_on("py-dill@0.2:", when="@2.13.5:", type=("build", "run")) + depends_on("py-dill@0.2:", when="@2.13.5:2.15", type=("build", "run")) + depends_on("py-dill@0.2:", when="@2.16: ^python@:3.10", type=("build", "run")) + depends_on("py-dill@0.3.6:", when="@2.16.0: ^python@3.11:", type=("build", "run")) depends_on("py-platformdirs@2.2.0:", when="@2.11.1:", type=("build", "run")) depends_on("py-astroid", type=("build", "run")) # note there is no working version of astroid for this @@ -53,7 +56,8 @@ class PyPylint(PythonPackage): depends_on("py-astroid@2.8.0:2.8", when="@2.11.1", type=("build", "run")) depends_on("py-astroid@2.11.2:2.11", when="@2.13.5:2.13", type=("build", "run")) depends_on("py-astroid@2.11.6:2.11", when="@2.14.2:2.14", type=("build", "run")) - depends_on("py-astroid@2.12.4:2.13", when="@2.15.0:", type=("build", "run")) + depends_on("py-astroid@2.12.4:2.13", when="@2.15", type=("build", "run")) + depends_on("py-astroid@2.14.2:2.15", when="@2.16:", type=("build", "run")) depends_on("py-isort@4.2.5:", type=("build", "run")) depends_on("py-isort@4.2.5:5", when="@2.3.1:", type=("build", "run")) depends_on("py-mccabe", type=("build", "run")) |