This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via f34450feec071f0b9495d0919b929d06204b4eea (commit)
via 1b9b3aa51986028bbc203e111f78846cafbd524c (commit)
via 5e5f588771c94dea2a40829726000ef6917a1b32 (commit)
from 93864e0f548ef3a70e0d5640bcaa74718aa52bec (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/f34450feec071f0b9495d0919b929d06204b4eea
commit f34450feec071f0b9495d0919b929d06204b4eea
Author: Oleg Broytman <ph...@ph...>
Date: Wed Jul 24 18:23:04 2024 +0300
CI(GHActions): Exclude Python 2.7 at w32
It requires VC9 and cannot be installed.
diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml
index 10d845b..4439ef2 100644
--- a/.github/workflows/run-tests.yaml
+++ b/.github/workflows/run-tests.yaml
@@ -11,6 +11,9 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
+ exclude:
+ - os: windows-latest
+ python-version: "2.7"
include:
- os: ubuntu-latest
os-name: Linux
http://sourceforge.net/p/sqlobject/sqlobject/ci/1b9b3aa51986028bbc203e111f78846cafbd524c
commit 1b9b3aa51986028bbc203e111f78846cafbd524c
Author: Oleg Broytman <ph...@ph...>
Date: Wed Jul 24 20:57:21 2024 +0300
CI(GHActions): Switch to `setup-miniconda`
diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml
index b38d006..10d845b 100644
--- a/.github/workflows/run-tests.yaml
+++ b/.github/workflows/run-tests.yaml
@@ -40,15 +40,19 @@ jobs:
# Setup Python/pip
- uses: actions/checkout@v4
- - uses: s-weigand/setup-conda@v1
+ - uses: conda-incubator/setup-miniconda@v3
with:
- conda-channels: conda-forge
+ miniforge-version: latest
python-version: ${{ matrix.python-version }}
if: ${{ !contains(fromJSON(env.not_in_conda), matrix.python-version) }}
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
if: ${{ contains(fromJSON(env.not_in_conda), matrix.python-version) }}
+ - uses: actions/cache@v3
+ with:
+ path: ~/conda_pkgs_dir
+ key: ${{ runner.os }}-conda
- name: Cache pip
uses: actions/cache@v3
with:
@@ -63,8 +67,10 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
pip --version
pip install --upgrade virtualenv "tox >= 3.15, < 4"
+ shell: bash -el {0}
- name: Set PYVER
run: |
+ python -c "
import os, sys
ld_library_path = None
pyver = '%d%d' % tuple(sys.version_info[:2])
@@ -77,11 +83,13 @@ jobs:
f.write('LD_LIBRARY_PATH=' + ld_library_path + '\n')
f.write('PYVER=' + pyver + '\n')
f.write('PGPASSWORD=test\n')
- shell: python
+ "
+ shell: bash -el {0}
- name: tox version
run: |
tox --version
+ shell: bash -el {0}
- name: Run tox @ Linux
run: |
devscripts/tox-select-envs $PYVER-mysql
@@ -89,9 +97,11 @@ jobs:
devscripts/tox-select-envs $PYVER-sqlite
devscripts/tox-select-envs $PYVER-flake8
if: ${{ runner.os == 'Linux' }}
+ shell: bash -el {0}
- name: Run tox @ w32
run: |
devscripts\tox-select-envs.cmd %PYVER%-mysql
devscripts\tox-select-envs.cmd %PYVER%-postgres
devscripts\tox-select-envs.cmd %PYVER%-sqlite
if: ${{ runner.os == 'Windows' }}
+ shell: cmd /C CALL {0}
diff --git a/docs/News.rst b/docs/News.rst
index 1060920..6d75172 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -15,6 +15,8 @@ CI
* Skip tests with ``pg8000`` on w32.
+* GHActions: Switch to ``setup-miniconda``.
+
SQLObject 3.11.0
================
http://sourceforge.net/p/sqlobject/sqlobject/ci/5e5f588771c94dea2a40829726000ef6917a1b32
commit 5e5f588771c94dea2a40829726000ef6917a1b32
Author: Oleg Broytman <ph...@ph...>
Date: Tue May 21 23:19:20 2024 +0300
Build(requirements): PyMySQL 1.0.3 dropped support for Python 3.6
diff --git a/devscripts/requirements/requirements_pymysql.txt b/devscripts/requirements/requirements_pymysql.txt
index b8c7bc6..4333b47 100644
--- a/devscripts/requirements/requirements_pymysql.txt
+++ b/devscripts/requirements/requirements_pymysql.txt
@@ -1,3 +1,4 @@
pymysql < 1.0; python_version == '2.7' or python_version == '3.5'
pymysql < 0.10.0; python_version == '3.4'
-pymysql; python_version >= '3.6'
+pymysql < 1.0.3; python_version == '3.6'
+pymysql; python_version >= '3.7'
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/run-tests.yaml | 19 ++++++++++++++++---
devscripts/requirements/requirements_pymysql.txt | 3 ++-
docs/News.rst | 2 ++
3 files changed, 20 insertions(+), 4 deletions(-)
hooks/post-receive
--
SQLObject development repository
|