Skip to content

Commit

Permalink
Merge pull request #18 from ArchanaShinde1/fix-pipcheck
Browse files Browse the repository at this point in the history
fix pip check
  • Loading branch information
ArchanaShinde1 authored Feb 23, 2024
2 parents 715e644 + ba8334c commit b5ead12
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions recipe/0001-fix-pip-check.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 2fa296316b9195bdfcbca6710483c6d90b282248 Mon Sep 17 00:00:00 2001
From: ArchanaShinde1 <[email protected]>
Date: Fri, 23 Feb 2024 06:28:13 +0000
Subject: [PATCH] fix pip check

---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 847ec4f..570149b 100644
--- a/setup.py
+++ b/setup.py
@@ -82,7 +82,7 @@ setup(
author='ONNX',
author_email='[email protected]',
url='https://github.com/onnx/tensorflow-onnx',
- install_requires=['numpy>=1.14.1', 'onnx>=1.4.1', 'requests', 'six', 'flatbuffers>=1.12', 'protobuf~=3.20.2'],
+ install_requires=['numpy>=1.14.1', 'onnx>=1.4.1', 'requests', 'six', 'flatbuffers>=1.12', 'protobuf~=4.21.12'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
--
2.40.1

4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ package:
source:
git_url: https://github.com/onnx/tensorflow-onnx/
git_rev: v{{ version }}
patches:
- 0001-fix-pip-check.patch

build:
number: 1
number: 2
script: {{ PYTHON }} -m pip install . --no-deps -vv

requirements:
Expand Down

0 comments on commit b5ead12

Please sign in to comment.