From fa15873f682cd78196c4c1d0c0923fb076a54f16 Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Thu, 1 Aug 2024 16:17:47 +0300 Subject: [PATCH 1/3] fix install on editable mode on setuptools 70+ --- ckanext/qa/__init__.py | 1 - setup.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ckanext/qa/__init__.py b/ckanext/qa/__init__.py index 53fd0507..bf99a9da 100644 --- a/ckanext/qa/__init__.py +++ b/ckanext/qa/__init__.py @@ -6,4 +6,3 @@ import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) -__version__ = '2.0' diff --git a/setup.py b/setup.py index 4dc8523a..11e627af 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,8 @@ from setuptools import setup, find_packages -from ckanext.qa import __version__ setup( name='ckanext-qa', - version=__version__, + version='2.0', description='Quality Assurance plugin for CKAN', long_description='', classifiers=[], From 711f4524e3e278c076dfdabbc205ee7a42d10631 Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Thu, 1 Aug 2024 16:19:24 +0300 Subject: [PATCH 2/3] lint on python 3.9 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d0fffe4..9f7790f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.9' - name: Install requirements run: pip install flake8 pycodestyle - name: Check syntax @@ -66,4 +66,4 @@ jobs: paster --plugin=ckan db init -c test.ini paster --plugin=ckanext-qa qa init -c test.ini - name: Run tests - run: pytest --ckan-ini=test.ini --cov=ckanext.qa --disable-warnings ckanext/qa/tests \ No newline at end of file + run: pytest --ckan-ini=test.ini --cov=ckanext.qa --disable-warnings ckanext/qa/tests From f025da0143c73dc6700650d052ed47baa0f62927 Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Thu, 1 Aug 2024 16:20:23 +0300 Subject: [PATCH 3/3] lint --- ckanext/qa/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ckanext/qa/__init__.py b/ckanext/qa/__init__.py index bf99a9da..2e2033b3 100644 --- a/ckanext/qa/__init__.py +++ b/ckanext/qa/__init__.py @@ -5,4 +5,3 @@ except ImportError: import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) -