python3Packages.python-jobspy: fix build, modernize (#546112)

This commit is contained in:
Yohann Boniface
2026-07-26 23:44:00 +00:00
committed by GitHub
3 changed files with 11 additions and 7 deletions
@@ -13,20 +13,23 @@
beautifulsoup4,
}:
buildPythonPackage rec {
pname = "jobspy";
buildPythonPackage (finalAttrs: {
pname = "python-jobspy";
version = "1.1.82";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "Bunsly";
repo = "JobSpy";
tag = version;
tag = finalAttrs.version;
hash = "sha256-iLtUIM7QBIl6UAcb1RvKt2uw5gHEIQXuo4z/OQu86wM=";
};
pythonRelaxDeps = [
"numpy"
"pandas"
"markdownify"
"regex"
];
@@ -52,8 +55,8 @@ buildPythonPackage rec {
description = "Jobs scraper library for job sites";
downloadPage = "https://github.com/Bunsly/JobSpy";
homepage = "https://github.com/Bunsly/JobSpy";
changelog = "https://github.com/Bunsly/JobSpy/releases/tag/${src.tag}";
changelog = "https://github.com/Bunsly/JobSpy/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
})
+1
View File
@@ -318,6 +318,7 @@ mapAliases {
jfx-bridge = throw "'jfx-bridge' has been removed as it was unmaintained upstream"; # Added 2026-04-05
jinja2_pluralize = throw "'jinja2_pluralize' has been renamed to/replaced by 'jinja2-pluralize'"; # Converted to throw 2025-10-29
jinja2_time = throw "'jinja2_time' has been renamed to/replaced by 'jinja2-time'"; # Converted to throw 2025-10-29
jobspy = warnAlias "'jobspy' has been renamed to 'python-jobspy'" python-jobspy; # Added 2026-07-26
JPype1 = throw "'JPype1' has been renamed to/replaced by 'jpype1'"; # Converted to throw 2025-10-29
jsonfield = throw "'jsonfield' has been removed as it was broken and deprecated upstream. Consider using Django's native `JSONField` instead."; # Added 2025-11-08
jsonpath_rw = throw "'jsonpath_rw' has been renamed to/replaced by 'jsonpath-rw'"; # Converted to throw 2025-10-29
+2 -2
View File
@@ -8444,8 +8444,6 @@ self: super: with self; {
joblib = callPackage ../development/python-modules/joblib { };
jobspy = callPackage ../development/python-modules/jobspy { };
johnnycanencrypt = callPackage ../development/python-modules/johnnycanencrypt { };
josepy = callPackage ../development/python-modules/josepy { };
@@ -16548,6 +16546,8 @@ self: super: with self; {
python-jenkins = callPackage ../development/python-modules/python-jenkins { };
python-jobspy = callPackage ../development/python-modules/python-jobspy { };
python-join-api = callPackage ../development/python-modules/python-join-api { };
python-jose = callPackage ../development/python-modules/python-jose { };