Skip to content

Commit

Permalink
Merge pull request #232 from tb102122/remove_pip_warning
Browse files Browse the repository at this point in the history
update version number pin logic
  • Loading branch information
schadem authored Jul 24, 2023
2 parents 309449b + 2f8a537 commit 03d1f32
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 24 deletions.
8 changes: 4 additions & 4 deletions extras/dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.21.*
numpy>=1.21,<1.22
jupyterlab
pandas
pdf2image==1.16.*
pdf2image>=1.16,<1.17
pytest
sentence-transformers==2.2.*
sphinx-rtd-theme==1.0.*
sentence-transformers>=2.2,<2.3
sphinx-rtd-theme>=1.0,<1.1
22 changes: 11 additions & 11 deletions extras/docs.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
numpy==1.21.*
numpy>=1.21,<1.22
jupyterlab
pandas
pdf2image==1.16.0
pdf2image>=1.16,<1.17
pytest
Sphinx==5.1.*
nbsphinx==0.8.*
sphinx-rtd-theme==1.0.*
Sphinx>=5.1,<5.2
nbsphinx>=0.8,<0.9
sphinx-rtd-theme>=1.0,<1.1
sphinx-argparse
sphinxcontrib-applehelp==1.0.*
sphinxcontrib-devhelp==1.0.*
sphinxcontrib-htmlhelp==2.0.*
sphinxcontrib-jsmath==1.0.*
sphinxcontrib-qthelp==1.0.*
sphinxcontrib-serializinghtml==1.1.*
sphinxcontrib-applehelp>=1.0,<1.1
sphinxcontrib-devhelp>=1.0,<1.1
sphinxcontrib-htmlhelp>=2.0,<2.1
sphinxcontrib-jsmath>=1.0,<1.1
sphinxcontrib-qthelp>=1.0,<1.1
sphinxcontrib-serializinghtml>=1.1,<1.2
2 changes: 1 addition & 1 deletion extras/pandas.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy==1.21.*
numpy>=1.21,<1.22
pandas
2 changes: 1 addition & 1 deletion extras/pdf.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pdf2image==1.16.*
pdf2image>=1.16,<1.17
2 changes: 1 addition & 1 deletion extras/torch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sentence-transformers==2.2.*
sentence-transformers>=2.2,<2.3
3 changes: 2 additions & 1 deletion helper/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _copy_fonts(self):

requirements = [
'boto3', 'botocore', 'amazon-textract-response-parser>=0.1.40', 'amazon-textract-caller>=0.0.27',
'amazon-textract-overlayer>=0.0.10', 'amazon-textract-prettyprinter>=0.1.0', 'Pillow>=9.2.*', 'pypdf>=2.5.*'
'amazon-textract-overlayer>=0.0.10', 'amazon-textract-prettyprinter>=0.1.0', 'Pillow>=9.2,<9.3', 'pypdf>=2.5,<2.6'
]

if sys.argv[-1] == 'publish-test':
Expand Down Expand Up @@ -94,6 +94,7 @@ def _copy_fonts(self):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
cmdclass={'install': FontInstaller},
python_requires='>=3.6')
3 changes: 2 additions & 1 deletion overlayer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


requirements = ['boto3', 'botocore', 'amazon-textract-caller>=0.0.11', 'Pillow>=9.2.*', 'pypdf>=2.5.*']
requirements = ['boto3', 'botocore', 'amazon-textract-caller>=0.0.11', 'Pillow>=9.2,<9.3', 'pypdf>=2.5,<2.6']

if sys.argv[-1] == 'publish-test':
os.system(f"cd {os.path.dirname(__file__)}")
Expand Down Expand Up @@ -47,5 +47,6 @@ def read(fname):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires='>=3.6')
3 changes: 2 additions & 1 deletion prettyprinter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


requirements = ['boto3', 'botocore', 'amazon-textract-response-parser>=0.1.48', 'tabulate==0.9.*']
requirements = ['boto3', 'botocore', 'amazon-textract-response-parser>=0.1.48', 'tabulate>=0.9,<0.10']

if sys.argv[-1] == 'publish-test':
os.system(f"cd {os.path.dirname(__file__)}")
Expand Down Expand Up @@ -45,5 +45,6 @@ def read(fname):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires='>=3.6')
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ amazon-textract-response-parser>=0.1.45,<0.2.0
amazon-textract-caller>=0.0.27,<0.1.0
amazon-textract-pipeline-pagedimensions
Pillow
tabulate==0.9.*
XlsxWriter==3.0.*
tabulate>=0.9,<0.10
XlsxWriter>=3.0,<3.1
editdistance==0.6.2
3 changes: 2 additions & 1 deletion tpipelinepagedimensions/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()


requirements = ['boto3', 'botocore', 'Pillow>=9.4.*', 'pypdf>=2.5.*']
requirements = ['boto3', 'botocore', 'Pillow>=9.4,<9.5', 'pypdf>=2.5,<2.6']

if sys.argv[-1] == 'publish-test':
os.system(f"cd {os.path.dirname(__file__)}")
Expand Down Expand Up @@ -48,5 +48,6 @@ def read(fname):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
python_requires='>=3.6')

0 comments on commit 03d1f32

Please sign in to comment.