Skip to content

Commit

Permalink
#50: Updated Minimum Python version to 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Jun 20, 2024
1 parent dcfc060 commit 8bdba36
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 50 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry.lock linguist-generated
21 changes: 0 additions & 21 deletions .github/actions/prepare_poetry_env/action.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
steps:

- name: SCM Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}

- name: Build Artifacts
run: poetry build
Expand All @@ -34,4 +36,4 @@ jobs:
run: >
gh release create ${GITHUB_REF_NAME}
--title ${GITHUB_REF_NAME} -F "./doc/changes/changes_${GITHUB_REF_NAME}.md"
dist/*
dist/*
7 changes: 4 additions & 3 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
python-version: [ "3.10" ]
runs-on: ubuntu-latest

steps:

- name: SCM Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
poetry-version: '1.8.2'

- name: Run pytest
run: poetry run python3 -m pytest
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,7 @@ dmypy.json
poetry.lock

# PyCharm
.idea
.idea

# Emacs
TAGS
2 changes: 1 addition & 1 deletion doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog

* [0.2.0](changes_0.2.0.md)
* [unreleased](unreleased.md)
* [0.1.0](changes_0.1.0.md)
20 changes: 0 additions & 20 deletions doc/changes/changes_0.2.0.md

This file was deleted.

16 changes: 16 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# UDF Mock Python 0.2.0, released T.B.D

Code name: T.B.D

## Summary

T.B.D

### Bugs

* #48: Fixed the OSError when running the executor in a Jupyter Notebook.

### Refactorings

* #50: Update to Python 3.10
* #46: Fixed wrong package name in install instructions
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ homepage = "https://github.com/exasol/udf-mock-python"
keywords = ['exasol', 'udf', 'mock', 'testing']

[tool.poetry.dependencies]
python = ">=3.8"
python = "^3.10.0"
pandas = "^1.4"
numpy = "^1.22"
dill = ">=0.3.7"
Expand Down

0 comments on commit 8bdba36

Please sign in to comment.