Skip to content

Commit

Permalink
chore: release 0.4.0 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius authored Apr 5, 2022
1 parent b7d346a commit e30d064
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 52 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ repos:
hooks:
- id: black
language_version: python3.8
additional_dependencies: ['click==8.0.4']
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
Changes
=======

`0.4.0 <https://github.com/SwissDataScienceCenter/calamus/compare/v0.3.14...v0.4.0>`__ (2022-04-05)
---------------------------------------------------------------------------------------------------

Features
~~~~~~~~

- Add support for marshmallow Meta properties on annotated classes (such as ``exclude``).
- Allow controlling ``rdf_type`` inheritance on annotated classes using the ``inherit_parent_types`` Boolean flag.
- Support defining marshmallow hooks on annotated classes.

`0.3.14 <https://github.com/SwissDataScienceCenter/calamus/compare/v0.3.13...v0.3.14>`__ (2022-03-23)
-----------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion calamus/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.14"
__version__ = "0.4.0"
78 changes: 33 additions & 45 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

[tool.poetry]
name = "calamus"
version = "0.3.14"
version = "0.4.0"
description = "calamus is a library built on top of marshmallow to allow (de-)Serialization of Python classes to JSON-LD."
authors = ["Swiss Data Science Center <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -43,21 +43,23 @@ classifiers = [
python = "^3.7.1"
marshmallow = "^3.5.1"
pyld = "^2.0.2"
Jinja2 = {version = ">=3.0.0,<3.1.0", optional = true}
sphinx = {version = "^3.0.3", optional = true}
sphinx-rtd-theme = {version = "^0.4.3", optional = true}
sphinxcontrib-spelling = {version = "^5.0.0", optional = true}
lazy-object-proxy = "^1.4.3"
rdflib = {version = "^6.0.0"}

[tool.poetry.dev-dependencies]
pytest = "^5.2"
black = "^21.7b0"
pre-commit = "^2.3.0"
click = ">=8.0.0,<8.1.0"
flake8 = "^3.7.9"
pre-commit = "^2.3.0"
pytest = "^5.2"
pytest-black = "^0.3.9"

[tool.poetry.extras]
docs = ["sphinx", "sphinx-rtd-theme", "sphinxcontrib-spelling"]
docs = ["Jinja2", "sphinx", "sphinx-rtd-theme", "sphinxcontrib-spelling"]

[tool.black]
line-length = 120
Expand Down
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
setup(
long_description=readme,
name="calamus",
version="0.3.14",
version="0.4.0",
description="calamus is a library built on top of marshmallow to allow (de-)Serialization of Python classes to JSON-LD.",
python_requires="==3.*,>=3.7.1",
project_urls={
Expand Down Expand Up @@ -56,11 +56,17 @@
extras_require={
"dev": [
"black==21.*,>=21.7.0.b0",
"click<8.1.0,>=8.0.0",
"flake8==3.*,>=3.7.9",
"pre-commit==2.*,>=2.3.0",
"pytest==5.*,>=5.2.0",
"pytest-black==0.*,>=0.3.9",
],
"docs": ["sphinx==3.*,>=3.0.3", "sphinx-rtd-theme==0.*,>=0.4.3", "sphinxcontrib-spelling==5.*,>=5.0.0"],
"docs": [
"jinja2<3.1.0,>=3.0.0",
"sphinx==3.*,>=3.0.3",
"sphinx-rtd-theme==0.*,>=0.4.3",
"sphinxcontrib-spelling==5.*,>=5.0.0",
],
},
)

0 comments on commit e30d064

Please sign in to comment.