Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Migrate to use "implicit namespace packages" (PEP 420). Dependencies: Use crate>=1.0.0.dev2 for validation purposes. CI: Use Python 3.11, up from 3.8. #326

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 .

Expand All @@ -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 .

Expand All @@ -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 .

Expand All @@ -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 .

Expand All @@ -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 .

Expand All @@ -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 .

Expand All @@ -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 .

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Empty file added src/crate/__init__.py
Empty file.