Skip to content

Commit 2ed8671

Browse files
authored
#66 loosen numpy constraint (#67)
* #66: Loosened constraint for dependency numpy * Prepare release 0.7.0 * Added Python toolbox and prepared release 0.5.0
1 parent aa70416 commit 2ed8671

File tree

10 files changed

+2394
-183
lines changed

10 files changed

+2394
-183
lines changed

.github/workflows/pypi_release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2121
with:
2222
python-version: "3.10"
23-
poetry-version: '2.1.2'
23+
poetry-version: "2.1.2"
2424

2525
- name: Build Artifacts
2626
run: poetry build
@@ -36,5 +36,6 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
run: >
3838
gh release create ${GITHUB_REF_NAME}
39-
--title ${GITHUB_REF_NAME} -F "./doc/changes/changes_${GITHUB_REF_NAME}.md"
39+
--title ${GITHUB_REF_NAME}
40+
--notes-file ./doc/changes/changes_${GITHUB_REF_NAME}.md
4041
dist/*

.github/workflows/pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
poetry-version: '2.1.2'

doc/changes/changelog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

33
* [unreleased](unreleased.md)
4+
* [0.5.0](changes_0.5.0.md)
45
* [0.4.0](changes_0.4.0.md)
56
* [0.3.0](changes_0.3.0.md)
67
* [0.2.0](changes_0.2.0.md)
7-
* [0.1.0](changes_0.1.0.md)
8+
* [0.1.0](changes_0.1.0.md)

doc/changes/changes_0.5.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 0.7.0 - 2025-09-11
2+
## Summary
3+
4+
This release loosens the constraints for dependency `numpy` as python 3.13 is only available for numpy versions >2.
5+
6+
### Refactorings
7+
8+
* #64: Update to poetry 2.1.2
9+
* #66: Loosen constraint for dependency `numpy`
10+
11+
## Dependency Updates
12+
13+
### `main`
14+
* Removed dependency `dill:0.3.8`
15+
* Updated dependency `numpy:1.24.4` to `1.26.4`
16+
* Updated dependency `pandas:1.5.3` to `2.2.3`
17+
18+
### `dev`
19+
* Added dependency `exasol-toolbox:1.9.0`
20+
* Added dependency `pytest:8.3.5`
21+
* Added dependency `pytest-cov:5.0.0`

doc/changes/unreleased.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# UDF Mock Python <version TBD>, released <date TBD>
2-
3-
### Refactorings
4-
5-
* #64: Update to poetry 2.1.2
1+
# Unreleased

noxconfig.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from collections.abc import Iterable
2+
from dataclasses import dataclass
3+
from pathlib import Path
4+
5+
ROOT_DIR = Path(__file__).parent
6+
7+
8+
@dataclass(frozen=True)
9+
class Config:
10+
root: Path = ROOT_DIR
11+
doc: Path = ROOT_DIR / "doc"
12+
version_file: Path = ROOT_DIR / "version.py"
13+
path_filters: Iterable[str] = ("dist", ".eggs", "venv", ".workspace")
14+
python_versions = ["3.10", "3.11", "3.12", "3.13"]
15+
source: Path = Path("exasol_udf_mock_python")
16+
17+
18+
PROJECT_CONFIG = Config()

noxfile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import nox
2+
3+
# imports all nox task provided by the toolbox
4+
from exasol.toolbox.nox.tasks import *
5+
6+
# default actions to be run if nothing is explicitly specified with the -s option
7+
nox.options.sessions = ["project:fix"]

poetry.lock

Lines changed: 2322 additions & 171 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "exasol-udf-mock-python"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
requires-python = ">=3.10.0,<4.0"
55
description = "Mocking framework for Exasol Python UDFs"
66
authors = [
@@ -20,9 +20,10 @@ requires-poetry = ">=2.1.0"
2020

2121
[tool.poetry.dependencies]
2222
pandas = "^2.2.3"
23-
numpy = ">=1.26.4,<2"
23+
numpy = ">=1.26.4,<3"
2424

2525
[tool.poetry.group.dev.dependencies]
26+
exasol-toolbox = "^1.9.0"
2627
pytest = "^8.2.2"
2728
pytest-cov = "^5.0.0"
2829

version.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""
2+
ATTENTION:
3+
This file is generated by exasol/toolbox/nox/_package_version.py when using:
4+
* either "poetry run -- nox -s project:fix"
5+
* or "poetry run -- nox -s version:check -- --fix"
6+
Do not edit this file manually!
7+
If you need to change the version, do so in the pyproject.toml, e.g. by using
8+
`poetry version X.Y.Z`.
9+
"""
10+
11+
MAJOR = 0
12+
MINOR = 5
13+
PATCH = 0
14+
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
15+
__version__ = VERSION

0 commit comments

Comments
 (0)