Update version (in order to test #2956) and rebuild the Web UI

This commit is contained in:
nicolargo 2024-10-23 22:06:08 +02:00
parent 039dd00c96
commit b2b6879dd5
2 changed files with 152 additions and 106 deletions

View File

@ -2881,10 +2881,11 @@
}
},
"node_modules/http-proxy-middleware": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz",
"integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==",
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
"integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/http-proxy": "^1.17.8",
"http-proxy": "^1.18.1",
@ -8131,9 +8132,9 @@
}
},
"http-proxy-middleware": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz",
"integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==",
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz",
"integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==",
"dev": true,
"requires": {
"@types/http-proxy": "^1.17.8",

View File

@ -1,10 +1,5 @@
[project]
name = "Glances"
version = "4.3.0_dev01"
description = "A cross-platform curses-based monitoring tool"
keywords = ["cli", "curses", "monitoring", "system"]
readme = "README.rst"
authors = [{ name = "Nicolas Hennion", email = "nicolas@nicolargo.com" }]
authors = [{name = "Nicolas Hennion", email = "nicolas@nicolargo.com"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console :: Curses",
@ -24,7 +19,6 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Topic :: System :: Monitoring",
]
requires-python = ">=3.8"
dependencies = [
"defusedxml",
"packaging",
@ -34,11 +28,18 @@ dependencies = [
"jinja2; platform_system == 'Windows'",
"requests; platform_system == 'Windows'",
]
license = { text = "LGPLv3" }
description = "A cross-platform curses-based monitoring tool"
keywords = ["cli", "curses", "monitoring", "system"]
license = {text = "LGPLv3"}
name = "Glances"
readme = "README.rst"
requires-python = ">=3.8"
urls.Homepage = "https://github.com/nicolargo/glances"
version = "4.3.0_dev02"
[project.optional-dependencies]
action = ["chevron"]
all = ["glances[action,browser,cloud,containers,export,gpu,graph,ip,raid,sensors,smart,snmp,sparklines,web,wifi]"]
browser = ["zeroconf>=0.19.1"]
cloud = ["requests"]
containers = ["docker>=6.1.1", "packaging", "podman", "python-dateutil", "six"]
@ -69,7 +70,6 @@ snmp = ["pysnmp"]
sparklines = ["sparklines"]
web = ["fastapi>=0.82.0", "jinja2", "requests", "uvicorn"]
wifi = ["wifi"]
all = ["glances[action,browser,cloud,containers,export,gpu,graph,ip,raid,sensors,smart,snmp,sparklines,web,wifi]"]
[project.scripts]
glances = "glances:main"
@ -98,10 +98,11 @@ quote-style = "preserve"
[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
ignore = ["N801", "N802", "N803", "N805", "N806", "N807", "N811", "N812", "N813", "N814", "N815", "N816", "N817", "N818"]
select = [
# "A",
# "B",
# "S",
# "A",
# "B",
# "S",
"C90", # mccabe
"E", # pycodestyle
"F", # Pyflakes
@ -111,15 +112,59 @@ select = [
"UP", # pyupgrde
"C4", # flake8-comprehensions
"RET", # flake8-return
# "PL",
# "FBT", # flake8-boolean-trap
# "RUF", # Ruff-specific rules
# "PERF", # Perflint
# "PL",
# "FBT", # flake8-boolean-trap
# "RUF", # Ruff-specific rules
# "PERF", # Perflint
]
ignore = ["N801", "N802", "N803", "N805", "N806", "N807", "N811", "N812", "N813", "N814", "N815", "N816", "N817", "N818"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
unfixable = []
# Exclude a variety of commonly ignored directories.
@ -148,7 +193,7 @@ exclude = [
"venv-min",
"docs",
"test-data",
"./glances/outputs/static/*"
"./glances/outputs/static/*",
]
# Allow unused variables when underscore-prefixed.
@ -159,5 +204,5 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
max-complexity = 21
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=68"]