Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jul 6, 2020
2 parents 0ff77f5 + e043bda commit b6c3830
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
23 changes: 13 additions & 10 deletions builder/infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion requirements_build.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Cython==0.29.20
numpy==1.18.5
numpy==1.19.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

VERSION = "1.10.3"
VERSION = "1.11.0"

setup(
name="builder",
Expand Down

0 comments on commit b6c3830

Please sign in to comment.