diff --git a/builder/infra.py b/builder/infra.py index 700a6f9c..52dd4fd5 100644 --- a/builder/infra.py +++ b/builder/infra.py @@ -33,24 +33,27 @@ def check_available_binary(index: str, skip_binary: str, packages: List[str]) -> list_needed: Set[str] = set() for binary in list_binary: - for package in packages: + for package in packages.copy(): if not package.startswith(binary): continue # Check more details find = _RE_REQUIREMENT.match(package) - if find: - # Check full name - if binary != find["package"]: - continue + if not find: + packages.remove(package) + continue + + # Check full name + if binary != find["package"]: + continue - # Process packages - name = f"{binary}-{find['version']}" - if name in available_data: - continue + # Process packages + name = f"{binary}-{find['version']}" + if name in available_data: + continue # Ignore binary - print(f"Ignore Binary {package}: {binary}", flush=True) + print(f"Ignore Binary {package}: {name}", flush=True) list_needed.add(binary) # Generate needed list of skip binary diff --git a/requirements.txt b/requirements.txt index ec529224..c0ba3ece 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ click==7.1.2 click-pathlib==2020.3.13.0 -requests==2.23.0 +requests==2.24.0 wheel==0.34.2 -setuptools==47.1.1 +setuptools==49.1.0 diff --git a/requirements_build.txt b/requirements_build.txt index 2538a855..d611e4c3 100644 --- a/requirements_build.txt +++ b/requirements_build.txt @@ -1,2 +1,2 @@ Cython==0.29.20 -numpy==1.18.5 +numpy==1.19.0 diff --git a/setup.py b/setup.py index fc5dd06f..74796217 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup -VERSION = "1.10.3" +VERSION = "1.11.0" setup( name="builder",