Patchwork hgdemandimport: exclude more sqlalchemy modules

login
register
mail settings
Submitter Ludovic Chabant
Date Sept. 29, 2020, 9:38 p.m.
Message ID <0b78eb21c79f02980e59.1601415532@barjoland.chabant.com>
Download mbox | patch
Permalink /patch/47337/
State Accepted
Headers show

Comments

Ludovic Chabant - Sept. 29, 2020, 9:38 p.m.
# HG changeset patch
# User Ludovic Chabant <ludovic@chabant.com>
# Date 1601415526 25200
#      Tue Sep 29 14:38:46 2020 -0700
# Node ID 0b78eb21c79f02980e59a0000e30c6049075534b
# Parent  f8726d166fcaa0d690f6783146172758b2e14deb
hgdemandimport: exclude more sqlalchemy modules

We could potentially exclude the entire sqlalchemy library.
Yuya Nishihara - Sept. 30, 2020, 11:27 a.m.
On Tue, 29 Sep 2020 14:38:52 -0700, Ludovic Chabant wrote:
> # HG changeset patch
> # User Ludovic Chabant <ludovic@chabant.com>
> # Date 1601415526 25200
> #      Tue Sep 29 14:38:46 2020 -0700
> # Node ID 0b78eb21c79f02980e59a0000e30c6049075534b
> # Parent  f8726d166fcaa0d690f6783146172758b2e14deb
> hgdemandimport: exclude more sqlalchemy modules

Queued for stable, thanks.

Patch

diff --git a/hgdemandimport/__init__.py b/hgdemandimport/__init__.py
--- a/hgdemandimport/__init__.py
+++ b/hgdemandimport/__init__.py
@@ -52,6 +52,7 @@ 
     'rfc822',
     'mimetools',
     'sqlalchemy.events',  # has import-time side effects (issue5085)
+    'sqlalchemy.dialects', # similar problems as above
     # setuptools 8 expects this module to explode early when not on windows
     'distutils.msvc9compiler',
     '__builtin__',