Skip to content

Commit 89c7fee

Browse files
fix: Downgrade to poetry-core==1.0.8 for databind.core and databind.json packages because of #64 (#65)
* fix: Downgrade to `poetry-core==1.0.8` for `databind.core` and `databind.json` packages because of #64 * fix packages def * Need to move to a package instead of a module for the proxy because `flit` (used by Slap to develop-install the package) does not support having the `.py` suffix in the module but old `poetry-core` must have it to find the module. * add dry publish to CI
1 parent 25b14da commit 89c7fee

File tree

7 files changed

+21
-7
lines changed

7 files changed

+21
-7
lines changed

.changelog/_unreleased.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[[entries]]
2+
id = "32835227-2170-4c19-952b-4649de1bfe7d"
3+
type = "fix"
4+
description = "Downgrade to `poetry-core==1.0.8` for `databind.core` and `databind.json` packages because of #64"
5+
6+
issues = [
7+
"https://github.com/NiklasRosenstein/python-databind/issues/64",
8+
]

.github/workflows/python.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with: { python-version: "${{ matrix.python-version }}" }
1818
- run: slap install --link --no-venv-check
1919
- run: slap test
20+
- run: slap publish --dry
2021

2122
documentation:
2223
runs-on: ubuntu-20.04

databind.core/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Databind is a library inspired by jackson-databind to de-/seriali
55
authors = ["Niklas Rosenstein <[email protected]>"]
66
license = "MIT"
77
readme = "README.md"
8-
packages = [{include = "_databind_core_proxy.py", from = "src"}]
8+
packages = [{include = "_databind_core_proxy", from = "src"}]
99

1010
[tool.poetry.urls]
1111
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-databind/issues"
@@ -16,9 +16,9 @@ Repository = "https://github.com/NiklasRosenstein/python-databind"
1616
python = "^3.8.0"
1717
databind = "^4.5.0"
1818

19-
[tool.slap]
20-
typed = true
21-
2219
[build-system]
23-
requires = ["poetry-core==1.9.0"]
20+
requires = ["poetry-core==1.0.8"] # Don't ugprade, see https://github.com/NiklasRosenstein/python-databind/issues/64
2421
build-backend = "poetry.core.masonry.api"
22+
23+
[tool.slap]
24+
typed = true

databind.json/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "De-/serialize Python dataclasses to or from JSON payloads. Compat
55
authors = ["Niklas Rosenstein <[email protected]>"]
66
license = "MIT"
77
readme = "README.md"
8-
packages = [{include = "_databind_json_proxy.py", from = "src"}]
8+
packages = [{include = "_databind_json_proxy", from = "src"}]
99

1010
[tool.poetry.urls]
1111
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-databind/issues"
@@ -17,7 +17,7 @@ python = "^3.8.0"
1717
databind = "^4.5.0"
1818

1919
[build-system]
20-
requires = ["poetry-core==1.9.0"]
20+
requires = ["poetry-core==1.0.8"] # Don't ugprade, see https://github.com/NiklasRosenstein/python-databind/issues/64
2121
build-backend = "poetry.core.masonry.api"
2222

2323
[tool.slap]

databind/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ license = "MIT"
77
readme = "README.md"
88
packages = [{include = "databind/core", from = "src"}, {include = "databind/json", from = "src"}]
99

10+
[tool.poetry.urls]
11+
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-databind/issues"
12+
Documentation = "https://niklasrosenstein.github.io/python-databind/"
13+
Repository = "https://github.com/NiklasRosenstein/python-databind"
14+
1015
[tool.poetry.dependencies]
1116
python = "^3.8.0"
1217
Deprecated = "^1.2.12"

0 commit comments

Comments
 (0)