From a959817c7de63e9ee98198f83c0fcde4de597093 Mon Sep 17 00:00:00 2001 From: Odilon Sousa Date: Wed, 30 Oct 2024 09:30:06 -0300 Subject: [PATCH] Filter Packages with .post in the version --- find_package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/find_package.py b/find_package.py index 31e7a9f90..c76ad818f 100755 --- a/find_package.py +++ b/find_package.py @@ -46,6 +46,9 @@ def parse_package_list(lines): name = name.lower() elif name.startswith('PyJWT'): name = name.lower() + #Removes post from package version + if ".post" in version: + version = version[:version.index(".post")] yield {'package_name': name, 'new_version': version} def find_packages(pkg, new_version):