Page MenuHomeSoftware Heritage

Restrict pytest-postgresql to < 4.0.0
ClosedPublic

Authored by olasd on Apr 4 2022, 5:03 PM.

Details

Summary

Other modules still need psycopg2 and pytest-postgresql 4 introduced a
hard dependency on psycopg3.

This restriction has only been needed since a recent dependency
upgrade (or maybe a pip upgrade); pip has stopped being able to solve it
itself for some reason.

Test Plan

the tox env creates successfully

Diff Detail

Repository
rDWAPPS Web applications
Branch
pytest-postgresql
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 28130
Build 44061: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 44060: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D7497 (id=27202)

Rebasing onto 902039b683...

First, rewinding head to replay your work on top of it...
Applying: Restrict pytest-postgresql to < 4.0.0
Changes applied before test
commit 38b124be0a4a64a07f16d59fe518939fab5bf6c8
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Fri Apr 1 15:15:05 2022 +0200

    Restrict pytest-postgresql to < 4.0.0
    
    Other modules still need psycopg2 and pytest-postgresql 4 introduced a
    hard dependency on psycopg3.
    
    This restriction has only been needed since a recent dependency
    upgrade (or maybe a pip upgrade); pip has stopped being able to solve it
    itself for some reason.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1666/ for more details.

olasd requested review of this revision.Apr 4 2022, 5:27 PM
This revision is now accepted and ready to land.Apr 4 2022, 5:28 PM

Build was aborted

Patch application report for D7497 (id=27215)

Rebasing onto 902039b683...

Current branch diff-target is up to date.
Changes applied before test
commit e46b75a9c5afe5ae58b67d1bf4a5c67e8363c1a0
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Fri Apr 1 15:15:05 2022 +0200

    Restrict pytest-postgresql to < 4.0.0
    
    Other modules still need psycopg2 and pytest-postgresql 4 introduced a
    hard dependency on psycopg3.
    
    This restriction has only been needed since a recent dependency
    upgrade (or maybe a pip upgrade); pip has stopped being able to solve it
    itself for some reason.

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1670/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1670/console

This revision was landed with ongoing or failed builds.Apr 5 2022, 4:20 PM
This revision was automatically updated to reflect the committed changes.

Build has FAILED

Patch application report for D7497 (id=27227)

Rebasing onto c0509f8235...

Current branch diff-target is up to date.
Changes applied before test
commit 2ad94111d6de749258c846e8581bcfcdaa6a7f68
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Fri Apr 1 15:15:05 2022 +0200

    Restrict pytest-postgresql to < 4.0.0
    
    Other modules still need psycopg2 and pytest-postgresql 4 introduced a
    hard dependency on psycopg3.
    
    This restriction has only been needed since a recent dependency
    upgrade (or maybe a pip upgrade); pip has stopped being able to solve it
    itself for some reason.

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1680/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1680/console