-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate project to pyproject.toml based package setup
Fixes #128 Fixes #135 * Add pyproject.toml * Add poetry lock file * Add dependencies to pyproject.toml * Add dependabot updater to repository * Add pyupgrade commit hook to workspace * Remove deprecated and unused configuration entries * Add extension points required for sqlalchemy plugin(s) * Add version sync support for project.toml based version * Add version check to ci/verifier action * Update CI workflow to use poetry * Update base python version to 3.8 * Update changelog * Remove condaforge reference in README - Conda forge won't be maintained anymore. * Deleted deprecated and unused files * Use python built in mock library * Bump version to 3.0.0
- Loading branch information
Showing
29 changed files
with
1,112 additions
and
995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
open-pull-requests-limit: 5 | ||
|
||
# Maintain dependencies for poetry | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Check Links | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'master' | ||
pull_request: | ||
branches-ignore: | ||
- 'master' | ||
|
||
jobs: | ||
run_tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: [3.8] | ||
|
||
name: Check Links (Python-${{ matrix.python }}) | ||
|
||
steps: | ||
|
||
- name: Fetch sqlalchemy_exasol code from repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python ${{ matrix.python }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: 1.1.13 | ||
|
||
- name: Install python project dependencies | ||
run: poetry install --no-root | ||
|
||
- name: Check documentation links ${{ matrix.python }} using ${{ matrix.connector }} | ||
run: poetry run nox -s "check-links" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
default_stages: [commit] | ||
repos: | ||
- repo: local | ||
hooks: | ||
|
||
- id: version-check | ||
name: Check if version(s) are in sync | ||
always_run: true | ||
language: system | ||
entry: python scripts/version_check.py --fix sqlalchemy_exasol/version.py | ||
|
||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v2.34.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: ['--py38-plus'] | ||
types: [python] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FINAL TASKS: | ||
------------ | ||
* ATTENTION: Update turbodbc driver to latest including installation fix! | ||
* make sure automated publish via GH action still works with poetry | ||
* CLOSE: https://github.com/exasol/sqlalchemy-exasol/issues/135 | ||
* CLOSE: https://github.com/exasol/sqlalchemy-exasol/issues/146 | ||
* CLOSE: https://github.com/exasol/sqlalchemy-exasol/issues/128 |
Oops, something went wrong.