Skip to content

Commit 66cc641

Browse files
committed
soft reset to avoid rebasing conflicts
1 parent 0bf7a83 commit 66cc641

59 files changed

Lines changed: 1948 additions & 1376 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/benchmark.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: Benchmark
1+
name: 📊 Benchmarks
22
on:
33
push: {}
44
workflow_call: {}
5+
56
jobs:
67
benchmark_sql_algorithm:
78
runs-on: ubuntu-latest
@@ -13,7 +14,7 @@ jobs:
1314
working-directory: ./sample-apps/databases
1415
run: docker compose up --build -d
1516
- name: Set up Python 3.9
16-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1718
with:
1819
python-version: 3.9
1920

@@ -30,15 +31,24 @@ jobs:
3031
run: |
3132
poetry run python ./benchmarks/sql_benchmark/sql_benchmark_fw.py
3233
poetry run python ./benchmarks/sql_benchmark/sql_benchmark_no_fw.py
34+
3335
benchmark_with_flask_mysql:
3436
runs-on: ubuntu-latest
3537
timeout-minutes: 10
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3642
steps:
3743
- name: Checkout code
3844
uses: actions/checkout@v4
3945
- name: Start databases
4046
working-directory: ./sample-apps/databases
4147
run: docker compose up --build -d
48+
- name: Set up Python ${{ matrix.python-version }}
49+
uses: actions/setup-python@v5
50+
with:
51+
python-version: ${{ matrix.python-version }}
4252
- name: Install dependencies & build
4353
run: |
4454
python -m pip install --upgrade pip
@@ -51,15 +61,24 @@ jobs:
5161
- name: Run flask-mysql k6 Benchmark
5262
run: |
5363
k6 run -q ./benchmarks/flask-mysql-benchmarks.js
64+
5465
benchmark_with_starlette_app:
5566
runs-on: ubuntu-latest
5667
timeout-minutes: 10
68+
strategy:
69+
fail-fast: false
70+
matrix:
71+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
5772
steps:
5873
- name: Checkout code
5974
uses: actions/checkout@v4
6075
- name: Start databases
6176
working-directory: ./sample-apps/databases
6277
run: docker compose up --build -d
78+
- name: Set up Python ${{ matrix.python-version }}
79+
uses: actions/setup-python@v5
80+
with:
81+
python-version: ${{ matrix.python-version }}
6382
- name: Install dependencies & build
6483
run: |
6584
python -m pip install --upgrade pip
@@ -71,9 +90,5 @@ jobs:
7190
run: |
7291
sudo apt-get update
7392
sudo apt-get install -y wrk
74-
- name: Set up Python 3.9
75-
uses: actions/setup-python@v2
76-
with:
77-
python-version: 3.9
7893
- name: Run benchmark
7994
run: python ./benchmarks/starlette_benchmark.py

.github/workflows/end2end.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- { name: flask-postgres-xml, testfile: end2end/flask_postgres_xml_lxml_test.py }
3636
- { name: quart-postgres-uvicorn, testfile: end2end/quart_postgres_uvicorn_test.py }
3737
- { name: starlette-postgres-uvicorn, testfile: end2end/starlette_postgres_uvicorn_test.py }
38-
python-version: ["3.10", "3.11", "3.12"]
38+
python-version: ["3.10", "3.11", "3.12", "3.13"]
3939
steps:
4040
- name: Install packages
4141
run: sudo apt update && sudo apt install python3-dev libmysqlclient-dev
@@ -53,7 +53,7 @@ jobs:
5353
docker run --name mock_core -d -p 5000:5000 mock_core
5454
5555
- name: Set up Python ${{ matrix.python-version }}
56-
uses: actions/setup-python@v2
56+
uses: actions/setup-python@v5
5757
with:
5858
python-version: ${{ matrix.python-version }}
5959
- name: Install dependencies

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
uses: actions/checkout@v4
1010

1111
- name: Set up Python
12-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v5
1313
with:
1414
python-version: '3.x'
1515

.github/workflows/smoke-test-ffi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: 3.12
2626

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
# Don't cancel jobs if one fails
1111
fail-fast: false
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v4
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts
2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

aikido_zen/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ def protect(mode="daemon"):
5050
import aikido_zen.sources.xml_sources.xml
5151
import aikido_zen.sources.xml_sources.lxml
5252

53-
import aikido_zen.sources.gunicorn
54-
import aikido_zen.sources.uwsgi
55-
5653
# Import DB Sinks
5754
import aikido_zen.sinks.pymysql
5855
import aikido_zen.sinks.mysqlclient

aikido_zen/background_process/packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def is_package_compatible(package=None, required_version=ANY_VERSION, packages=N
3939
return True
4040

4141
# No match found
42-
logger.info("Zen does not support %s", packages)
42+
logger.info("Zen does not support current version of %s", "/".join(packages))
4343
return False
4444
except Exception as e:
4545
logger.debug("Exception occurred in is_package_compatible: %s", e)

aikido_zen/importhook/__init__.py

Lines changed: 0 additions & 166 deletions
This file was deleted.

aikido_zen/importhook/finder.py

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)