From 228cc945d5ec949f88dae7730ca9ef279070f0cd Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 2 May 2021 10:58:55 +0200 Subject: [PATCH] v1.0.65 Bug fixes and cleanup --- CHANGELOG.md | 6 ++++++ bpytop.py | 8 ++++---- poetry.lock | 14 +++++++------- pyproject.toml | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52190d1..3391243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.0.65 +* Fixed: Removed degrees symbol from Kelvin scale, by @jrbergen +* Fixed: Mouse buttons not working in netbox when changing interface +* Fixed: q key not working when terminal size warning is showed +* Fixed: Cleanup of unused libraries and other small fixes + ## v1.0.64 * Changed: Init screen not shown by default diff --git a/bpytop.py b/bpytop.py index 7fc39c7..2ebf9fa 100755 --- a/bpytop.py +++ b/bpytop.py @@ -19,7 +19,7 @@ import os, sys, io, threading, signal, re, subprocess, logging, logging.handlers, argparse import urllib.request -from time import time, sleep, strftime, localtime +from time import time, sleep, strftime from datetime import timedelta from _thread import interrupt_main from collections import defaultdict @@ -29,7 +29,7 @@ from string import Template from math import ceil, floor from random import randint from shutil import which -from typing import List, Set, Dict, Tuple, Optional, Union, Any, Callable, ContextManager, Iterable, Type, NamedTuple +from typing import List, Dict, Tuple, Union, Any, Iterable errors: List[str] = [] try: import fcntl, termios, tty, pwd @@ -55,7 +55,7 @@ if errors: print("\nInstall required modules!\n") raise SystemExit(1) -VERSION: str = "1.0.64" +VERSION: str = "1.0.65" #? Argument parser -------------------------------------------------------------------------------> args = argparse.ArgumentParser() @@ -4578,7 +4578,7 @@ class Menu: "tree_depth" : [ 'Process tree auto collapse depth.', '', - 'Sets the depth were the tree view will auto', + 'Sets the depth where the tree view will auto', 'collapse processes at.'], "proc_colors" : [ 'Enable colors in process view.', diff --git a/poetry.lock b/poetry.lock index 22c4e71..17e4f67 100644 --- a/poetry.lock +++ b/poetry.lock @@ -187,7 +187,7 @@ description = "python code static checker" name = "pylint" optional = false python-versions = "~=3.6" -version = "2.8.1" +version = "2.8.2" [package.dependencies] astroid = ">=2.5.6,<2.7" @@ -251,7 +251,7 @@ description = "Backported and Experimental Type Hints for Python 3.5+" name = "typing-extensions" optional = false python-versions = "*" -version = "3.7.4.3" +version = "3.10.0.0" [[package]] category = "dev" @@ -403,8 +403,8 @@ py = [ {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, ] pylint = [ - {file = "pylint-2.8.1-py3-none-any.whl", hash = "sha256:4236b7284853b779a8add49aca287a5899245894995c5591d2b5839a32482330"}, - {file = "pylint-2.8.1.tar.gz", hash = "sha256:ad1bff19c46bfc6d2aeba4de5f76570d253df4915d2043ba61dc6a96233c4bd6"}, + {file = "pylint-2.8.2-py3-none-any.whl", hash = "sha256:f7e2072654a6b6afdf5e2fb38147d3e2d2d43c89f648637baab63e026481279b"}, + {file = "pylint-2.8.2.tar.gz", hash = "sha256:586d8fa9b1891f4b725f587ef267abe2a1bad89d6b184520c7f07a253dd6e217"}, ] pyparsing = [ {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, @@ -451,9 +451,9 @@ typed-ast = [ {file = "typed_ast-1.4.3.tar.gz", hash = "sha256:fb1bbeac803adea29cedd70781399c99138358c26d05fcbd23c13016b7f5ec65"}, ] typing-extensions = [ - {file = "typing_extensions-3.7.4.3-py2-none-any.whl", hash = "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"}, - {file = "typing_extensions-3.7.4.3-py3-none-any.whl", hash = "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918"}, - {file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"}, + {file = "typing_extensions-3.10.0.0-py2-none-any.whl", hash = "sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497"}, + {file = "typing_extensions-3.10.0.0-py3-none-any.whl", hash = "sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84"}, + {file = "typing_extensions-3.10.0.0.tar.gz", hash = "sha256:50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342"}, ] wrapt = [ {file = "wrapt-1.12.1.tar.gz", hash = "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7"}, diff --git a/pyproject.toml b/pyproject.toml index 4597d26..a79bb42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bpytop" -version = "1.0.64" +version = "1.0.65" description = "Resource monitor that shows usage and stats for processor, memory, disks, network and processes." readme = "README.md" authors = ["Aristocratos "]