"Fix egg on dependency links [SKIP CI]."

This commit is contained in:
Sergio Morillo 2021-01-20 00:35:31 +01:00
parent d3b34cc59d
commit 7cb85f0c8e
3 changed files with 11 additions and 5 deletions

View File

@ -3,7 +3,8 @@ pipeline:
image: ${IMAGE}
environment:
- CFLAGS=-O0
- TOX_TESTENV_PASSENV=CFLAGS
- DB_CACHE=/cache
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
commands:
- pip install tox
@ -40,4 +41,10 @@ matrix:
DATABASE: sqlite
- IMAGE: python:3.7
TOXENV: py37
DATABASE: postgresql
- IMAGE: python:3.8
TOXENV: py38
DATABASE: sqlite
- IMAGE: python:3.8
TOXENV: py38
DATABASE: postgresql

View File

@ -48,9 +48,8 @@ else:
requires = ['tryton_replication @ git+https://gitlab.com/datalifeit/'
'tryton_replication@%(branch)s'
'#egg=tryton_replication-%(series)s' % {
'#egg=tryton_replication' % {
'branch': branch,
'series': series,
}]
for dep in info.get('depends', []):
if not re.match(r'(ir|res)(\W|$)', dep):

View File

@ -1,10 +1,10 @@
[tox]
envlist = {py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
[testenv]
commands = {envpython} setup.py test
deps =
{py36,py37}-postgresql: psycopg2 >= 2.5
{py36,py37,py38}-postgresql: psycopg2 >= 2.5
pypy3-postgresql: psycopg2cffi >= 2.5
{py36}-sqlite: sqlitebck
setenv =