diff --git a/Jenkinsfile b/Jenkinsfile index 69a79c4f..3d506791 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { steps { checkout scm sh 'rm -rf env' - sh '/usr/bin/python3 -m venv env' + sh '/usr/bin/python3.11 -m venv env' sh 'env/bin/python -m pip install -U mypy flake8' sh 'find tests -name "*.py" | xargs env/bin/mypy --ignore-missing-imports' sh 'find src -name "*.py" | xargs env/bin/mypy --ignore-missing-imports' @@ -27,7 +27,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -41,7 +41,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -55,7 +55,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -69,7 +69,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -83,7 +83,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -97,7 +97,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . @@ -112,7 +112,7 @@ pipeline { checkout scm sh ''' rm -rf env - /usr/bin/python3 -m venv env + /usr/bin/python3.11 -m venv env source env/bin/activate python -m pip install -U -e . diff --git a/setup.py b/setup.py index 3477af24..f240be68 100644 --- a/setup.py +++ b/setup.py @@ -28,9 +28,8 @@ def read(filename): }, package_dir={'': 'src'}, packages=['crate.qa'], - namespace_packages=['crate'], install_requires=[ - 'crate', + 'crate>=1.0.0.dev2', 'cr8>=0.25.0', 'Cython', 'asyncpg>=0.21', diff --git a/src/crate/__init__.py b/src/crate/__init__.py new file mode 100644 index 00000000..e69de29b