File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,14 +7,18 @@ Blocksmith is a CKAN extension that allows you to create and manage pages using
77## Requirements
88
99CKAN 2.10+
10- Python 3.9 +
10+ Python 3.10 +
1111
1212## Installation
1313
14- To install ckanext-blocksmith :
14+ Install it from source :
1515 ```
1616 pip install -e .
1717 ```
18+ Or use ` pypi ` to install:
19+ ```
20+ pip install ckanext-blocksmith
21+ ```
1822
1923## Config settings
2024
Original file line number Diff line number Diff line change 1- from typing import Any , cast
1+ from typing import cast
22
33import ckan .plugins .toolkit as tk
44from ckan import types
Original file line number Diff line number Diff line change 22
33from typing import Any
44
5- import ckan .types as types
65import ckan .plugins .toolkit as tk
6+ import ckan .types as types
77
88import ckanext .blocksmith .model as model
99
Original file line number Diff line number Diff line change 33import sqlalchemy as sa
44from typing_extensions import Self
55
6- import ckan .types as types
76import ckan .model as model
87import ckan .plugins .toolkit as tk
8+ import ckan .types as types
99from ckan .model .types import make_uuid
1010
1111import ckanext .blocksmith .types as blocksmith_types
Original file line number Diff line number Diff line change 1- import pytest
21import factory
2+ import pytest
33from faker import Faker
44from pytest_factoryboy import register
55
Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ authors = [
66description = " A modern page builder extension for CKAN, powered by GrapesJS"
77name = " ckanext-blocksmith"
88readme = " README.md"
9- version = " 0.1 .0"
9+ version = " 0.2 .0"
1010
1111classifiers = [
1212 " Development Status :: 4 - Beta" ,
1313 " License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)" ,
14- " Programming Language :: Python :: 3.9" ,
1514 " Programming Language :: Python :: 3.10" ,
15+ " Programming Language :: Python :: 3.11" ,
16+ " Programming Language :: Python :: 3.12" ,
1617]
1718license = {text = " AGPL" }
1819
@@ -77,7 +78,7 @@ exclude = [
7778# Same as Black.
7879line-length = 120
7980indent-width = 4
80- target-version = " py39 "
81+ target-version = " py310 "
8182
8283
8384[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments