summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-02-18 19:12:45 +0100
committerFederico Caselli <cfederico87@gmail.com>2021-02-18 20:37:22 +0100
commit629273a31b1be9ed195e9082d40b8741ab31e073 (patch)
tree98d90e9a518737d2dfb6176f71654db2c04af728 /.github
parent227fd31d7d7c9354e51008e5a14e2cb5ee885266 (diff)
downloadsqlalchemy-629273a31b1be9ed195e9082d40b8741ab31e073.tar.gz
Minor optimization to the code
* remove the c version of distill params since it's actually slower than the python one * add a function to langhelpers to check if the cextensions are active * minor cleanup to the OrderedSet implementation Change-Id: Iec3d0c3f0f42cdf51f802aaca342ba37b8783b85
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/create-wheels.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml
index b11a14619..e6fd1e3bd 100644
--- a/.github/workflows/create-wheels.yaml
+++ b/.github/workflows/create-wheels.yaml
@@ -87,7 +87,7 @@ jobs:
# for python 2.7 visual studio 9 is missing
if: matrix.os != 'windows-latest' || matrix.python-version != '2.7'
run: |
- python -c 'from sqlalchemy import cprocessors, cresultproxy, cutils'
+ python -c 'from sqlalchemy.util import has_compiled_ext; assert has_compiled_ext()'
- name: Test created wheel
# the mock reconnect test seems to fail on the ci in windows
@@ -222,7 +222,7 @@ jobs:
then
pip install greenlet "importlib-metadata;python_version<'3.8'"
pip install -f dist --no-index sqlalchemy
- python -c 'from sqlalchemy import cprocessors, cresultproxy, cutils'
+ python -c 'from sqlalchemy.util import has_compiled_ext; assert has_compiled_ext()'
pip install pytest pytest-xdist ${{ matrix.extra-requires }}
pytest -n2 -q test --nomemory --notimingintensive
else
@@ -362,7 +362,7 @@ jobs:
python --version &&
pip install greenlet \"importlib-metadata;python_version<'3.8'\" &&
pip install -f dist --no-index sqlalchemy &&
- python -c 'from sqlalchemy import cprocessors, cresultproxy, cutils' &&
+ python -c 'from sqlalchemy.util import has_compiled_ext; assert has_compiled_ext()' &&
pip install pytest pytest-xdist ${{ matrix.extra-requires }} &&
pytest -n2 -q test --nomemory --notimingintensive"