Skip to content

Commit

Permalink
fix(setup): testing requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
broomva committed Jun 27, 2023
1 parent 7b8f514 commit f3748f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pydantic
python-dotenv
typing-extensions
databricks-connect
mlflow
databricks-connect==13.1.0
mlflow==2.3.0
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import glob
import io
import os
import setuptools
import glob
import sys
from setuptools import find_packages, find_namespace_packages

if sys.version_info < (3, 8):
import setuptools
from setuptools import find_namespace_packages, find_packages

if sys.version_info < (3, 10):
find_namespace_packages()
print("Error: databricks_session does not support this version of Python.")
print("Please upgrade to Python 3.8 or higher.")
print("Please upgrade to Python 3.10 or higher.")
sys.exit(1)


Expand Down Expand Up @@ -79,7 +80,7 @@ def prepare_data_files(directory, extensions):
],
packages=find_packages(),
install_requires=required,
python_requires=">=3.8",
python_requires=">=3.10.11",
include_package_data=True,
setup_requires=["setuptools", "wheel"],
tests_require=["pytest"],
Expand Down

0 comments on commit f3748f5

Please sign in to comment.