Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
uses: exasol/python-toolbox/.github/actions/python-environment@v1
with:
python-version: "3.10"
poetry-version: '2.1.2'
poetry-version: "2.1.2"

- name: Build Artifacts
run: poetry build
Expand All @@ -36,5 +36,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
gh release create ${GITHUB_REF_NAME}
--title ${GITHUB_REF_NAME} -F "./doc/changes/changes_${GITHUB_REF_NAME}.md"
--title ${GITHUB_REF_NAME}
--notes-file ./doc/changes/changes_${GITHUB_REF_NAME}.md
dist/*
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
uses: exasol/python-toolbox/.github/actions/python-environment@v1
with:
python-version: ${{ matrix.python-version }}
poetry-version: '2.1.2'
Expand Down
3 changes: 2 additions & 1 deletion doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

* [unreleased](unreleased.md)
* [0.5.0](changes_0.5.0.md)
* [0.4.0](changes_0.4.0.md)
* [0.3.0](changes_0.3.0.md)
* [0.2.0](changes_0.2.0.md)
* [0.1.0](changes_0.1.0.md)
* [0.1.0](changes_0.1.0.md)
21 changes: 21 additions & 0 deletions doc/changes/changes_0.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 0.7.0 - 2025-09-11
## Summary

This release loosens the constraints for dependency `numpy` as python 3.13 is only available for numpy versions >2.

### Refactorings

* #64: Update to poetry 2.1.2
* #66: Loosen constraint for dependency `numpy`

## Dependency Updates

### `main`
* Removed dependency `dill:0.3.8`
* Updated dependency `numpy:1.24.4` to `1.26.4`
* Updated dependency `pandas:1.5.3` to `2.2.3`

### `dev`
* Added dependency `exasol-toolbox:1.9.0`
* Added dependency `pytest:8.3.5`
* Added dependency `pytest-cov:5.0.0`
6 changes: 1 addition & 5 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# UDF Mock Python <version TBD>, released <date TBD>

### Refactorings

* #64: Update to poetry 2.1.2
# Unreleased
18 changes: 18 additions & 0 deletions noxconfig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from collections.abc import Iterable
from dataclasses import dataclass
from pathlib import Path

ROOT_DIR = Path(__file__).parent


@dataclass(frozen=True)
class Config:
root: Path = ROOT_DIR
doc: Path = ROOT_DIR / "doc"
version_file: Path = ROOT_DIR / "version.py"
path_filters: Iterable[str] = ("dist", ".eggs", "venv", ".workspace")
python_versions = ["3.10", "3.11", "3.12", "3.13"]
source: Path = Path("exasol_udf_mock_python")


PROJECT_CONFIG = Config()
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import nox

# imports all nox task provided by the toolbox
from exasol.toolbox.nox.tasks import *

# default actions to be run if nothing is explicitly specified with the -s option
nox.options.sessions = ["project:fix"]
2,493 changes: 2,322 additions & 171 deletions poetry.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "exasol-udf-mock-python"
version = "0.4.0"
version = "0.5.0"
requires-python = ">=3.10.0,<4.0"
description = "Mocking framework for Exasol Python UDFs"
authors = [
Expand All @@ -20,9 +20,10 @@ requires-poetry = ">=2.1.0"

[tool.poetry.dependencies]
pandas = "^2.2.3"
numpy = ">=1.26.4,<2"
numpy = ">=1.26.4,<3"

[tool.poetry.group.dev.dependencies]
exasol-toolbox = "^1.9.0"
pytest = "^8.2.2"
pytest-cov = "^5.0.0"

Expand Down
15 changes: 15 additions & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""
ATTENTION:
This file is generated by exasol/toolbox/nox/_package_version.py when using:
* either "poetry run -- nox -s project:fix"
* or "poetry run -- nox -s version:check -- --fix"
Do not edit this file manually!
If you need to change the version, do so in the pyproject.toml, e.g. by using
`poetry version X.Y.Z`.
"""

MAJOR = 0
MINOR = 5
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
__version__ = VERSION