Skip to content

Commit 9537cfe

Browse files
authored
0.4.6 - Fix some bugs (#24)
* Fix sql parser bugs * Update CI dependencies version
1 parent 8dd4d15 commit 9537cfe

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [ main ]
88
workflow_call:
99

10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
12+
1013
jobs:
1114
test:
1215
runs-on: ubuntu-latest
@@ -32,15 +35,15 @@ jobs:
3235
--health-retries 5
3336
3437
steps:
35-
- uses: actions/checkout@v4
38+
- uses: actions/checkout@v5
3639

3740
- name: Set up Python ${{ matrix.python-version }}
38-
uses: actions/setup-python@v4
41+
uses: actions/setup-python@v6
3942
with:
4043
python-version: ${{ matrix.python-version }}
4144

4245
- name: Cache pip dependencies
43-
uses: actions/cache@v3
46+
uses: actions/cache@v5
4447
with:
4548
path: ~/.cache/pip
4649
key: ${{ runner.os }}-py${{ matrix.python-version }}-mongo${{ matrix.mongodb-version }}-sqlalchemy-${{ matrix.sqlalchemy-version }}-pip-${{ hashFiles('**/requirements-test.txt', 'pyproject.toml') }}
@@ -101,7 +104,7 @@ jobs:
101104
python -m pytest tests/ --cov=pymongosql --cov-report=term-missing --cov-report=xml
102105
103106
- name: Upload coverage reports
104-
uses: codecov/codecov-action@v4
107+
uses: codecov/codecov-action@v5
105108
with:
106109
env_vars: OS,PYTHON
107110
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@ on:
77
env:
88
PYTHON_VERSION: "3.11"
99
MONGODB_VERSION: "8.0"
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
1011

1112
jobs:
1213
lint-and-format:
1314
name: Code Quality Checks
1415
runs-on: ubuntu-latest
1516

1617
steps:
17-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1819

1920
- name: Set up Python ${{ env.PYTHON_VERSION }}
20-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v6
2122
with:
2223
python-version: ${{ env.PYTHON_VERSION }}
2324

2425
- name: Cache pip dependencies
25-
uses: actions/cache@v3
26+
uses: actions/cache@v5
2627
with:
2728
path: ~/.cache/pip
2829
key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/requirements-test.txt', 'pyproject.toml') }}
@@ -57,13 +58,13 @@ jobs:
5758
needs: [lint-and-format, test]
5859

5960
steps:
60-
- uses: actions/checkout@v4
61+
- uses: actions/checkout@v5
6162
with:
6263
# Fetch full history for setuptools_scm
6364
fetch-depth: 0
6465

6566
- name: Set up Python ${{ env.PYTHON_VERSION }}
66-
uses: actions/setup-python@v4
67+
uses: actions/setup-python@v6
6768
with:
6869
python-version: ${{ env.PYTHON_VERSION }}
6970

@@ -85,7 +86,7 @@ jobs:
8586
ls -la dist/
8687
8788
- name: Upload build artifacts
88-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@v6
8990
with:
9091
name: dist
9192
path: dist/
@@ -100,7 +101,7 @@ jobs:
100101

101102
steps:
102103
- name: Download build artifacts
103-
uses: actions/download-artifact@v4
104+
uses: actions/download-artifact@v7
104105
with:
105106
name: dist
106107
path: dist/
@@ -118,12 +119,12 @@ jobs:
118119
contents: write
119120

120121
steps:
121-
- uses: actions/checkout@v4
122+
- uses: actions/checkout@v5
122123
with:
123124
fetch-depth: 0
124125

125126
- name: Download build artifacts
126-
uses: actions/download-artifact@v4
127+
uses: actions/download-artifact@v7
127128
with:
128129
name: dist
129130
path: dist/

requirements-optional.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SQLAlchemy support (optional) - supports 1.4+ and 2.x
2-
sqlalchemy>=1.4.0,<3.0.0
2+
sqlalchemy>=1.4.0,<3.0.0

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
pytest>=7.0.0
66
pytest-cov>=4.0.0
77
flake8>=6.0.0
8-
flake8-pyproject>=1.2.0
8+
flake8-pyproject>=1.2.0

0 commit comments

Comments
 (0)