Skip to content

Commit 8f97a02

Browse files
authored
Security: enforce filelock >=3.20.1 and migrate Poetry config to modern dependency groups (#102)
1 parent c47a8a3 commit 8f97a02

2 files changed

Lines changed: 26 additions & 114 deletions

File tree

poetry.lock

Lines changed: 6 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
1-
[tool.poetry]
1+
[project]
22
name = "xmlcli"
33
version = "2.0.6"
44
description = "UFFAF - UEFI Firmware Foundational Automation Framework (formerly Xml-Cli)"
5-
authors = ["Gahan Saraya <gahan.saraiya@intel.com>"]
6-
maintainers = ["Intel <xmlcli@intel.com>"]
7-
license = "BSD 3-Clause License"
5+
authors = [{name = "Gahan Saraya", email = "gahan.saraiya@intel.com"}]
6+
maintainers = [{name = "Intel", email = "xmlcli@intel.com"}]
7+
license = "BSD-3-Clause"
88
readme = "README.md"
9-
homepage = "https://github.com/intel/xml-cli"
109
keywords = ["uffaf", "xmlcli", "xml-cli", "framework", "automation", "validation", "bios", "xml"]
1110
classifiers = [
1211
"Development Status :: 5 - Production/Stable",
13-
"License :: OSI Approved :: BSD License",
1412
"Intended Audience :: Developers",
1513
"Natural Language :: English",
1614
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.7",
18-
"Programming Language :: Python :: 3.8",
19-
"Programming Language :: Python :: 3.9",
2015
"Programming Language :: Python :: 3.10",
2116
"Programming Language :: Python :: 3.11",
2217
]
23-
packages = [{include = "xmlcli", from = "src"}]
18+
requires-python = ">=3.10"
19+
dependencies = [
20+
"defusedxml>=0.6.0"
21+
]
22+
23+
[project.urls]
24+
Homepage = "https://github.com/intel/xml-cli"
25+
Repository = "https://github.com/intel/xml-cli"
2426

25-
[tool.poetry.dependencies]
26-
python = ">=3.9"
27-
defusedxml = ">=0.6.0"
27+
[project.scripts]
28+
xmlcli = "xmlcli.start_xmlcli:cli"
29+
uefi-analyze = "xmlcli.modules.uefi_analyzer.cli:main"
30+
31+
[tool.poetry]
32+
packages = [{include = "xmlcli", from = "src"}]
2833

2934
[tool.poetry.group.dev.dependencies]
3035
tox = ">=3.23.0"
3136
pygments = ">=2.20.0"
32-
requests = [
33-
{version = ">=2.33.0", python = ">=3.10"},
34-
{version = ">=2.31.0,<2.33.0", python = ">=3.9,<3.10"}
35-
]
37+
requests = ">=2.33.0"
38+
filelock = ">=3.20.1"
3639
jinja2 = "^3.1.6"
3740
babel = ">=2.9.1"
3841
sphinx = ">=4.0.2"
@@ -57,6 +60,3 @@ exclude = [
5760
ignore = "E501"
5861
indent-size = 2
5962

60-
[tool.poetry.scripts]
61-
xmlcli = { reference = "xmlcli.start_xmlcli:cli", type = "console" }
62-
uefi-analyze = { reference = "xmlcli.modules.uefi_analyzer.cli:main", type = "console" }

0 commit comments

Comments
 (0)