Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 6, 2023

This PR contains a snapshot of wallaby from upstream.

Elod Illes and others added 2 commits May 9, 2022 18:20
In cases when a package is installed in tox's develop-inst phase upper
constraints are not used if it were not defined in 'deps' of the tox
target. This caused for example 'tox -e docs' to fail in case a package
introduced some branch incompatible change.

There are two option to fix this:
* add the upper constraints to 'deps' of the target (and pre-install
  requirements for some cases) OR
* use it in the install_command

In the past the latter needed some extra attention (due to e.g. lower
constraints tests) and projects were encouraged to remove the
install_command, but nowadays this seems better fitting for some
project and easier to use. So this patch fixes the upper constraints
usage via the custom install_command and by removing it from 'deps'.

Conflicts:
  tox.ini

NOTE(elod.illes): conflict is due to branch specific upper constraints
link. Also, lower-constraints is not yet removed from this branch so to
avoid silently using wrong upper constraints instead of lower ones, the
install_command needs to be redefined in lower-constraints target.

Change-Id: Iae07e1c5abde09874928951ac55c2d0355bcd244
(cherry picked from commit 36aedba)
(cherry picked from commit 49d2547)
(cherry picked from commit e1a66af)
@github-actions github-actions bot requested a review from a team as a code owner March 6, 2023 08:21
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Mar 6, 2023
@markgoddard markgoddard merged commit 8a0679a into stackhpc/wallaby Mar 6, 2023
@markgoddard markgoddard deleted the upstream/wallaby-2023-03-06 branch March 6, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant