diff --git a/extras/dev.txt b/extras/dev.txt index 69b7dfc0..62fdf7e6 100644 --- a/extras/dev.txt +++ b/extras/dev.txt @@ -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.* \ No newline at end of file +sentence-transformers>=2.2,<2.3 +sphinx-rtd-theme>=1.0,<1.1 \ No newline at end of file diff --git a/extras/docs.txt b/extras/docs.txt index 6cda6c4a..84d72c99 100644 --- a/extras/docs.txt +++ b/extras/docs.txt @@ -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 diff --git a/extras/pandas.txt b/extras/pandas.txt index fa45f408..cce07ca1 100644 --- a/extras/pandas.txt +++ b/extras/pandas.txt @@ -1,2 +1,2 @@ -numpy==1.21.* +numpy>=1.21,<1.22 pandas diff --git a/extras/pdf.txt b/extras/pdf.txt index a23c74fb..82912bdc 100644 --- a/extras/pdf.txt +++ b/extras/pdf.txt @@ -1 +1 @@ -pdf2image==1.16.* \ No newline at end of file +pdf2image>=1.16,<1.17 \ No newline at end of file diff --git a/extras/torch.txt b/extras/torch.txt index c75356ed..5efe8e49 100644 --- a/extras/torch.txt +++ b/extras/torch.txt @@ -1 +1 @@ -sentence-transformers==2.2.* \ No newline at end of file +sentence-transformers>=2.2,<2.3 \ No newline at end of file diff --git a/helper/setup.py b/helper/setup.py index 6a632e01..2dd57c04 100644 --- a/helper/setup.py +++ b/helper/setup.py @@ -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': @@ -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') diff --git a/overlayer/setup.py b/overlayer/setup.py index ec5c2653..03f13b59 100644 --- a/overlayer/setup.py +++ b/overlayer/setup.py @@ -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__)}") @@ -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') diff --git a/prettyprinter/setup.py b/prettyprinter/setup.py index a1749022..20ca479a 100644 --- a/prettyprinter/setup.py +++ b/prettyprinter/setup.py @@ -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__)}") @@ -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') diff --git a/requirements.txt b/requirements.txt index 3d15a6e7..e14c3821 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tpipelinepagedimensions/setup.py b/tpipelinepagedimensions/setup.py index 10dfb3fb..e3ed1a05 100644 --- a/tpipelinepagedimensions/setup.py +++ b/tpipelinepagedimensions/setup.py @@ -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__)}") @@ -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')