Skip to content

Commit

Permalink
#77 Discontinued old plugins (#80)
Browse files Browse the repository at this point in the history
* #77 Discontinued old plugins

* #77 Fixed the PTB version

* #77 Moved to PTB 0.16.0

* #77 Updated discontinuation messages

* #77 Updated the release dates
  • Loading branch information
ahsimb authored Nov 21, 2024
1 parent cab9b0f commit ddd03c9
Show file tree
Hide file tree
Showing 37 changed files with 1,117 additions and 711 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Whether you're looking to use database interactions, enhance test reporting, or

| Plugin | Description | PYPI |
|---------------------------|----------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------|
| `pytest-exasol-itde` | Fixture to enable simple usage with Exasol's project [ITDE](https://github.com/exasol/integration-test-docker-environment) | [pytest-exasol-itde](https://pypi.org/project/pytest-exasol-itde/) |
| `pytest-exasol-saas` | Fixture to enable simple usage with Exasol's project [saas-api-python](https://github.com/exasol/saas-api-python/) | [pytest-exasol-saas](https://pypi.org/project/pytest-exasol-saas/) |
| `pytest-exasol-backend` | Fixture aggregating functionality of both of the above plugins | [pytest-exasol-backend](https://pypi.org/project/pytest-exasol-backend/) |
| `pytest-exasol-slc` | Fixture for uploading a script language container | [pytest-exasol-slc](https://pypi.org/project/pytest-exasol-slc/) |
| `pytest-exasol-extension` | Fixture for setting up a database for an extension test | [pytest-exasol-extension](https://pypi.org/project/pytest-exasol-extension/) |
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PROJECTS := "pytest-extension pytest-slc pytest-backend pytest-saas pytest-itde"
PROJECTS := "pytest-extension pytest-slc pytest-backend"

# Default target
default:
Expand All @@ -16,7 +16,7 @@ test +projects=PROJECTS:
for p in "{{projects}}".split():
run(f"poetry -C {p}/ install")
run(f"poetry -C {p}/ run nox -f {p}/noxfile.py -s coverage")
run(f"poetry -C {p}/ run nox -f {p}/noxfile.py -s test:coverage")
sys.exit(rc)

relock +projects=PROJECTS:
Expand Down
2 changes: 2 additions & 0 deletions pytest-backend/doc/changes/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* [0.2.1](changes_0.2.1.md)
* [0.3.0](changes_0.3.0.md)
* [0.3.1](changes_0.3.1.md)
* [0.3.2](changes_0.3.2.md)

<!--- This MyST Parser Sphinx directive is necessary to keep Sphinx happy. We need list here all release letters again, because release droid and other scripts assume Markdown --->
```{toctree}
Expand All @@ -18,5 +19,6 @@ changes_0.2.0
changes_0.2.1
changes_0.3.0
changes_0.3.1
changes_0.3.2
```
15 changes: 15 additions & 0 deletions pytest-backend/doc/changes/changes_0.3.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 0.3.2 - 2024-11-21

## Summary

Bug fixing release

## Bug fixing

* #75: Fixed the project_short_tag fixture. Now it should be able to find the error_code_config.yml
regardless of the testing rootpath.
* #79: Made the plugin working with Python 3.9

## Internal

* Updated python-toolbox to >=0.16.0
5 changes: 0 additions & 5 deletions pytest-backend/doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
# Unreleased

## Bug fixing

* #75: Fixed the project_short_tag fixture. Now it should be able to find the error_code_config.yml
regardless of the testing rootpath.
1 change: 1 addition & 0 deletions pytest-backend/exasol/pytest_backend/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from collections import ChainMap
from dataclasses import dataclass
from typing import (
Expand Down
1 change: 1 addition & 0 deletions pytest-backend/exasol/pytest_backend/itde.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import os
from dataclasses import dataclass
import pytest
Expand Down
1 change: 1 addition & 0 deletions pytest-backend/exasol/pytest_backend/parallel_task.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from typing import Any
import multiprocessing as mp
from functools import wraps
Expand Down
1 change: 1 addition & 0 deletions pytest-backend/exasol/pytest_backend/project_short_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
potentially long-running database instances in order to avoid unwanted costs.
"""

from __future__ import annotations
from pathlib import Path
import yaml

Expand Down
4 changes: 2 additions & 2 deletions pytest-backend/exasol/pytest_backend/version.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# ATTENTION:
# This file is generated by exasol/toolbox/pre_commit_hooks/package_version.py when using:
# * either "poetry run nox -s fix"
# * either "poetry run nox -s project:fix"
# * or "poetry run version-check <path/version.py> --fix"
# Do not edit this file manually!
# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
MAJOR = 0
MINOR = 3
PATCH = 1
PATCH = 2
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
2 changes: 1 addition & 1 deletion pytest-backend/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from exasol.toolbox.nox.tasks import * # pylint: disable=wildcard-import disable=unused-wildcard-import

# default actions to be run if nothing is explicitly specified with the -s option
nox.options.sessions = ["fix"]
nox.options.sessions = ["project:fix"]
Loading

0 comments on commit ddd03c9

Please sign in to comment.