Skip to content

Commit 3e375c6

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 2e78d8b + 2ed8671 commit 3e375c6

File tree

11 files changed

+2387
-122
lines changed

11 files changed

+2387
-122
lines changed

.github/workflows/pypi_release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ jobs:
1010

1111
cd-job:
1212
name: Continuous Delivery
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
steps:
1515

1616
- name: SCM Checkout
1717
uses: actions/checkout@v4
1818

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

2425
- name: Build Artifacts
2526
run: poetry build
@@ -35,5 +36,6 @@ jobs:
3536
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3637
run: >
3738
gh release create ${GITHUB_REF_NAME}
38-
--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
3941
dist/*

.github/workflows/pytest.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
fail-fast: false
99
matrix:
1010
python-version: [ "3.10", "3.11" ]
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414

1515
- name: SCM Checkout
1616
uses: actions/checkout@v4
1717

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

2424
- name: Run pytest
25-
run: poetry run python3 -m pytest
25+
run: poetry run -- python3 -m pytest

SECURITY.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Security
2+
3+
If you believe you have found a new security vulnerability in this repository, please report it to us as follows.
4+
5+
## Reporting Security Issues
6+
7+
* Please do **not** report security vulnerabilities through public GitHub issues.
8+
9+
* Please create a draft security advisory on the Github page: the reporting form is under `> Security > Advisories`. The URL is https://github.com/exasol/udf-mock-python/security/advisories/new.
10+
11+
* If you prefer to email, please send your report to `infosec@exasol.com`.
12+
13+
## Guidelines
14+
15+
* When reporting a vulnerability, please include as much information as possible, including the complete steps to reproduce the issue.
16+
17+
* Avoid sending us executables.
18+
19+
* Feel free to include any script you wrote and used but avoid sending us scripts that download and run binaries.
20+
21+
* We will prioritise reports that show how the exploits work in realistic environments.
22+
23+
* We prefer all communications to be in English.
24+
25+
* We do not offer financial rewards. We are happy to acknowledge your research publicly when possible.
26+

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# UDF Mock Python <version TBD>, released <date TBD>
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"]

0 commit comments

Comments
 (0)