-
Notifications
You must be signed in to change notification settings - Fork 26
Security/640 resolve vulnerability with pip #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ArBridgeman
merged 4 commits into
master
from
security/640_resolve_vulnerability_with_pip
Oct 30, 2025
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f994f0f
Re-lock dependencies to resolve CVE-2025-8869 for transitive dependen…
ArBridgeman 0d805bd
Update workflows to PTB 1.12.0
ArBridgeman dcccd0c
Use BaseConfig for Config from PTB 1.12.0
ArBridgeman 33993b5
Reverse pytest from 8.4.2 to 7.4.4 as leads to uses with test:sqla
ArBridgeman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from collections.abc import Iterable | ||
| from dataclasses import dataclass | ||
| from pathlib import Path | ||
|
|
||
| from exasol.toolbox.config import BaseConfig | ||
| from exasol.toolbox.nox.plugin import hookimpl | ||
|
|
||
|
|
||
|
|
@@ -12,7 +12,7 @@ class StartDB: | |
| @hookimpl | ||
| def pre_integration_tests_hook(self, session, config, context): | ||
| port = context.get("port", 8563) | ||
| db_version = context.get("db_version", "7.1.17") | ||
| db_version = context.get("db_version", "2025.1.0") | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As the tests currently succeed with 2025.1.0, we update to this latest version for the default database version when executing the integration tests. In the future, we can hopefully get this from the |
||
| session.run( | ||
| "itde", | ||
| "spawn-test-environment", | ||
|
|
@@ -38,8 +38,7 @@ def post_integration_tests_hook(self, session, config, context): | |
| session.run("docker", "kill", "db_container_test", external=True) | ||
|
|
||
|
|
||
| @dataclass(frozen=True) | ||
| class Config: | ||
| class Config(BaseConfig): | ||
| root: Path = Path(__file__).parent | ||
| doc: Path = Path(__file__).parent / "doc" | ||
| source: Path = Path("sqlalchemy_exasol") | ||
|
|
@@ -49,14 +48,14 @@ class Config: | |
| ".eggs", | ||
| "venv", | ||
| ) | ||
| environment_name = "test" | ||
| db_port = 8563 | ||
| bucketfs_port = 2580 | ||
| connectors = ["pyodbc", "turbodbc", "websocket"] | ||
| python_versions = ["3.10", "3.11", "3.12", "3.13"] | ||
| exasol_versions = ["7.1.30", "8.34.0", "2025.1.0"] | ||
| environment_name: str = "test" | ||
| db_port: int = 8563 | ||
| bucketfs_port: int = 2580 | ||
| connectors: list[str] = ["pyodbc", "turbodbc", "websocket"] | ||
| plugins: list = [StartDB, StopDB] | ||
|
|
||
| plugins = [StartDB, StopDB] | ||
|
|
||
|
|
||
| PROJECT_CONFIG = Config() | ||
| PROJECT_CONFIG = Config( | ||
| # PTB 1.12.0 still supports Python 3.9, so we override the python_versions | ||
| python_versions=("3.10", "3.11", "3.12", "3.13"), | ||
| ) | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workflow updates are triggered by
poetry run -- tbx workflow updateand are hand-checked that custom functionality was not lost