Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a9c2d8

Browse files
committed
remove python 3.9 from list of supported versions
1 parent b98af3d commit 9a9c2d8

6 files changed

Lines changed: 14 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ Blocksmith is a CKAN extension that allows you to create and manage pages using
77
## Requirements
88

99
CKAN 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

ckanext/blocksmith/logic/action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, cast
1+
from typing import cast
22

33
import ckan.plugins.toolkit as tk
44
from ckan import types

ckanext/blocksmith/logic/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from typing import Any
44

5-
import ckan.types as types
65
import ckan.plugins.toolkit as tk
6+
import ckan.types as types
77

88
import ckanext.blocksmith.model as model
99

ckanext/blocksmith/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import sqlalchemy as sa
44
from typing_extensions import Self
55

6-
import ckan.types as types
76
import ckan.model as model
87
import ckan.plugins.toolkit as tk
8+
import ckan.types as types
99
from ckan.model.types import make_uuid
1010

1111
import ckanext.blocksmith.types as blocksmith_types

ckanext/blocksmith/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import pytest
21
import factory
2+
import pytest
33
from faker import Faker
44
from pytest_factoryboy import register
55

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ authors = [
66
description = "A modern page builder extension for CKAN, powered by GrapesJS"
77
name = "ckanext-blocksmith"
88
readme = "README.md"
9-
version = "0.1.0"
9+
version = "0.2.0"
1010

1111
classifiers = [
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
]
1718
license = {text = "AGPL"}
1819

@@ -77,7 +78,7 @@ exclude = [
7778
# Same as Black.
7879
line-length = 120
7980
indent-width = 4
80-
target-version = "py39"
81+
target-version = "py310"
8182

8283

8384
[tool.ruff.lint]

0 commit comments

Comments
 (0)