Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/push_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.13"
- name: Create html documentation
run: |
pip install --user pdoc3
Expand Down
29 changes: 16 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,35 @@
long_description = long_description.split("\n", header_lines)[header_lines]

project_urls = {
'Documentation': 'https://keboola.github.io/python-component/interface.html',
'Component Template project': 'https://bitbucket.org/kds_consulting_team/cookiecutter-python-component'
"Documentation": "https://keboola.github.io/python-component/interface.html",
"Component Template project": "https://github.com/keboola/cookiecutter-python-component",
}

setuptools.setup(
name="keboola.component",
version="1.6.11",
version="1.6.12",
author="Keboola KDS Team",
project_urls=project_urls,
setup_requires=['pytest-runner', 'flake8'],
tests_require=['pytest'],
setup_requires=[
"pytest-runner",
"flake8",
],
tests_require=["pytest"],
install_requires=[
'pygelf',
'pytz',
'deprecated'
"pygelf",
"pytz",
"deprecated",
],
author_email="support@keboola.com",
description="General library for Python applications running in Keboola Connection environment",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/keboola/python-component",
package_dir={'': 'src'},
packages=['keboola.component'],
package_dir={"": "src"},
packages=["keboola.component"],
include_package_data=True,
zip_safe=False,
test_suite='tests',
test_suite="tests",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand All @@ -42,7 +45,7 @@
"Intended Audience :: Education",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable"
"Development Status :: 5 - Production/Stable",
],
python_requires='>=3.7'
python_requires=">=3.8",
)
4 changes: 3 additions & 1 deletion src/keboola/component/sync_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ class MessageType(str, Enum):
SUCCESS = "success"
INFO = "info"
WARNING = "warning"
DANGER = "danger"
ERROR = "error"
DANGER = "error" # keeping for backwards compatibility
TABLE = "table" # Markdown table


@dataclass
Expand Down