Skip to content

Commit 212c1c8

Browse files
authored
#50: Updated Minimum Python version to 3.10 (#51)
* #50: Updated Minimum Python version to 3.10 * Removed poetry.lock from .gitignore
1 parent dcfc060 commit 212c1c8

File tree

10 files changed

+387
-53
lines changed

10 files changed

+387
-53
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
poetry.lock linguist-generated

.github/actions/prepare_poetry_env/action.yml

-21
This file was deleted.

.github/workflows/pypi_release.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ jobs:
1414
steps:
1515

1616
- name: SCM Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: ./.github/actions/prepare_poetry_env
20+
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
21+
with:
22+
python-version: ${{ matrix.python-version }}
2123

2224
- name: Build Artifacts
2325
run: poetry build
@@ -34,4 +36,4 @@ jobs:
3436
run: >
3537
gh release create ${GITHUB_REF_NAME}
3638
--title ${GITHUB_REF_NAME} -F "./doc/changes/changes_${GITHUB_REF_NAME}.md"
37-
dist/*
39+
dist/*

.github/workflows/pytest.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
python-version: [3.8]
10+
python-version: [ "3.10" ]
1111
runs-on: ubuntu-latest
1212

1313
steps:
1414

1515
- name: SCM Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

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

2324
- name: Run pytest
2425
run: poetry run python3 -m pytest

.gitignore

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ dmypy.json
128128
# Pyre type checker
129129
.pyre/
130130

131-
# Poetry
132-
poetry.lock
133-
134131
# PyCharm
135-
.idea
132+
.idea
133+
134+
# Emacs
135+
TAGS

doc/changes/changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Changelog
22

3-
* [0.2.0](changes_0.2.0.md)
3+
* [unreleased](unreleased.md)
44
* [0.1.0](changes_0.1.0.md)

doc/changes/changes_0.2.0.md

-20
This file was deleted.

doc/changes/unreleased.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# UDF Mock Python 0.2.0, released T.B.D
2+
3+
Code name: T.B.D
4+
5+
## Summary
6+
7+
T.B.D
8+
9+
### Bugs
10+
11+
* #48: Fixed the OSError when running the executor in a Jupyter Notebook.
12+
13+
### Refactorings
14+
15+
* #50: Update to Python 3.10
16+
* #46: Fixed wrong package name in install instructions

poetry.lock

+355
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ homepage = "https://github.com/exasol/udf-mock-python"
1717
keywords = ['exasol', 'udf', 'mock', 'testing']
1818

1919
[tool.poetry.dependencies]
20-
python = ">=3.8"
20+
python = "^3.10.0"
2121
pandas = "^1.4"
2222
numpy = "^1.22"
2323
dill = ">=0.3.7"

0 commit comments

Comments
 (0)