summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Kristensen <me@mortens.dev>2021-10-24 18:49:05 +0200
committerGitHub <noreply@github.com>2021-10-24 16:49:05 +0000
commit9e11e62bca86e5c04e8b0dfcc49241219e526936 (patch)
tree0022489b218b3c702334db01235b102da8a21f39
parent7fee7a7ce1842a16d6bdfa8563480795ba0f6e9b (diff)
downloadspack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.gz
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.bz2
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.tar.xz
spack-9e11e62bca86e5c04e8b0dfcc49241219e526936.zip
py-vermin: add latest version 1.3.1 (#26920)
* py-vermin: add latest version 1.3.1 * Exclude line from Vermin since version is already being checked for Vermin 1.3.1 finds that `encoding` kwarg of builtin `open()` requires Python 3+.
-rw-r--r--lib/spack/llnl/util/tty/log.py2
-rw-r--r--var/spack/repos/builtin/packages/py-vermin/package.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/llnl/util/tty/log.py b/lib/spack/llnl/util/tty/log.py
index 7003f58f8d..efcd487f23 100644
--- a/lib/spack/llnl/util/tty/log.py
+++ b/lib/spack/llnl/util/tty/log.py
@@ -323,7 +323,7 @@ class FileWrapper(object):
if sys.version_info < (3,):
self.file = open(self.file_like, 'w')
else:
- self.file = open(self.file_like, 'w', encoding='utf-8')
+ self.file = open(self.file_like, 'w', encoding='utf-8') # novm
else:
self.file = StringIO()
return self.file
diff --git a/var/spack/repos/builtin/packages/py-vermin/package.py b/var/spack/repos/builtin/packages/py-vermin/package.py
index a8c8566c9c..b7962716cf 100644
--- a/var/spack/repos/builtin/packages/py-vermin/package.py
+++ b/var/spack/repos/builtin/packages/py-vermin/package.py
@@ -8,10 +8,11 @@ class PyVermin(PythonPackage):
"""Concurrently detect the minimum Python versions needed to run code."""
homepage = "https://github.com/netromdk/vermin"
- url = "https://github.com/netromdk/vermin/archive/v1.3.0.tar.gz"
+ url = "https://github.com/netromdk/vermin/archive/v1.3.1.tar.gz"
maintainers = ['netromdk']
+ version('1.3.1', sha256='ddcdaad5a708a483af192075f5d2eaaaf3aa4661b5101ddafa40d7837eeb5368')
version('1.3.0', sha256='adf2b6ea34c01c3a81fc4fa78c2e5fa6c8dd6d35327a8e5a4caeeaef7ec21668')
version('1.2.2', sha256='d0343b2a78d7e4de67dfd2d882eeaf8b241db724f7e67f83bdd4111edb97f1e2')
version('1.2.1', sha256='b7b2c77cf67a27a432371cbc7f184151b6f3dd22bd9ccf3a7a10b7ae3532ac81')