Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python 3.14 build#767

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
0x78f1935 wants to merge9 commits intoPyMySQL:main
base:main
Choose a base branch
Loading
from0x78f1935:main
Draft
Show file tree
Hide file tree
Changes fromall 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
22 changes: 11 additions & 11 deletions.github/workflows/tests.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@ name: Test

on:
push:
branches: ["main"]
branches: ['main']
pull_request:

jobs:
Expand All@@ -13,9 +13,9 @@ jobs:
PIP_DISABLE_PIP_VERSION_CHECK: 1
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
include:
- python-version:"3.12"
- python-version:'3.12'
mariadb: 1
steps:
- if: ${{ matrix.mariadb }}
Expand All@@ -41,8 +41,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache:"pip"
cache-dependency-path:"requirements.txt"
cache:'pip'
cache-dependency-path:'requirements.txt'
allow-prereleases: true

- name: Install mysqlclient
Expand All@@ -52,7 +52,7 @@ jobs:
- name: Install test dependencies
run: |
pip install -r requirements.txt

- name: Run tests
env:
TESTDB: actions.cnf
Expand All@@ -62,13 +62,13 @@ jobs:
- uses: codecov/codecov-action@v5

django-test:
name:"Run Django LTS test suite"
name:'Run Django LTS test suite'
needs: test
runs-on: ubuntu-latest
env:
PIP_NO_PYTHON_VERSION_WARNING: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
DJANGO_VERSION:"4.2.16"
DJANGO_VERSION:'4.2.16'
steps:
- name: Start MySQL
run: |
Expand All@@ -83,9 +83,9 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version:"3.12"
cache:"pip"
cache-dependency-path:"ci/django-requirements.txt"
python-version:'3.12'
cache:'pip'
cache-dependency-path:'ci/django-requirements.txt'

- name: Install mysqlclient
run: |
Expand Down
15 changes: 9 additions & 6 deletions.github/workflows/windows.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,15 +2,15 @@ name: Build windows wheels

on:
push:
branches: ["main", "ci"]
branches: ['main', 'ci']
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: windows-latest
env:
CONNECTOR_VERSION:"3.4.1"
CONNECTOR_VERSION:'3.4.7'
steps:
- name: Cache Connector
id: cache-connector
Expand DownExpand Up@@ -74,15 +74,18 @@ jobs:
cat site.cfg

- uses: actions/setup-python@v5
with:
python-version: '3.14.0'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
run: python -m pip install--upgradecibuildwheel
- name: Build wheels
working-directory: mysqlclient
env:
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
CIBW_ARCHS: "AMD64"
CIBW_PROJECT_REQUIRES_PYTHON: '>=3.9'
CIBW_ARCHS: 'AMD64'
CIBW_BUILD: 'cp3*-win_amd64'
CIBW_TEST_COMMAND: 'python -c "import MySQLdb; print(MySQLdb.version_info)" '
run:"python -m cibuildwheel --prerelease-pythons --output-dir dist"
run:'python -m cibuildwheel --output-dir dist'

- name: Build sdist
working-directory: mysqlclient
Expand Down
4 changes: 2 additions & 2 deletionsci/test_mysql.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,15 +19,15 @@
"HOST": "127.0.0.1",
"USER": "scott",
"PASSWORD": "tiger",
"TEST": {"CHARSET": "utf8mb3", "COLLATION": "utf8mb3_general_ci"},
"TEST": {"CHARSET": "utf8mb4", "COLLATION": "utf8mb4_general_ci"},
},
"other": {
"ENGINE": "django.db.backends.mysql",
"NAME": "django_other",
"HOST": "127.0.0.1",
"USER": "scott",
"PASSWORD": "tiger",
"TEST": {"CHARSET": "utf8mb3", "COLLATION": "utf8mb3_general_ci"},
"TEST": {"CHARSET": "utf8mb4", "COLLATION": "utf8mb4_general_ci"},
},
}

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp