Skip to content

Commit 73c114a

Browse files
authored
python313Packages.policy-sentry: 0.14.1 -> 0.15.1 (NixOS#474078)
2 parents 86e5883 + 6cb17fd commit 73c114a

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

pkgs/development/python-modules/cloudsplaining/default.nix

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,24 @@
1111
markdown,
1212
policy-sentry,
1313
pytestCheckHook,
14-
pythonOlder,
1514
pyyaml,
1615
schema,
1716
setuptools,
1817
}:
1918

2019
buildPythonPackage rec {
2120
pname = "cloudsplaining";
22-
version = "0.8.1";
21+
version = "0.8.2";
2322
pyproject = true;
2423

25-
disabled = pythonOlder "3.8";
26-
2724
src = fetchFromGitHub {
2825
owner = "salesforce";
2926
repo = "cloudsplaining";
3027
tag = version;
31-
hash = "sha256-Ix4SlkGMtserksazXCk0XcDhmxNcfV/QCVsDJjWbu2k=";
28+
hash = "sha256-Abp/uvH1IYO/rb2o+7uI0Ef6q7K6T0kN1mo+Qit438E=";
3229
};
3330

34-
postPatch = ''
35-
# Ignore pinned versions
36-
sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" requirements.txt
37-
'';
31+
pythonRelaxDeps = true;
3832

3933
build-system = [ setuptools ];
4034

pkgs/development/python-modules/policy-sentry/default.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,29 @@
44
buildPythonPackage,
55
click,
66
fetchFromGitHub,
7+
hatchling,
78
orjson,
89
pytestCheckHook,
910
pyyaml,
1011
requests,
1112
schema,
12-
setuptools,
1313
}:
1414

1515
buildPythonPackage rec {
1616
pname = "policy-sentry";
17-
version = "0.14.1";
17+
version = "0.15.1";
1818
pyproject = true;
1919

2020
src = fetchFromGitHub {
2121
owner = "salesforce";
2222
repo = "policy_sentry";
2323
tag = version;
24-
hash = "sha256-o4l4jkh9ZNqc3Jovd10KUQLDBLn0sPWdgScq5Q2qd14=";
24+
hash = "sha256-G7V3BqgJs9nyvhZ9xzNwP50yz+2SZfps/gsW6U8eisk=";
2525
};
2626

27-
build-system = [ setuptools ];
27+
pythonRelaxDeps = [ "beautifulsoup4" ];
28+
29+
build-system = [ hatchling ];
2830

2931
dependencies = [
3032
beautifulsoup4

0 commit comments

Comments
 (0)