Skip to content

compatibility with Conda #169

Closed Answered by ymyzk
joaomcteixeira asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, when we specify requires in tox.ini, tox-gh-actions should be specified in requires as well. Could you give it a try? If this solution works, I'll add this to our documentation as well.

diff --git a/tox.ini b/tox.ini
index e7b7b14..4c8e14e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,8 @@
 [tox]
 minversion = 3.14.0
-requires=tox-conda
+requires=
+    tox-conda
+    tox-gh-actions
 envlist =
     build
     docs
(base) root@36187653ed99:/tmp/taurenmd# GITHUB_ACTIONS=true tox -l -vv
using tox.ini: /tmp/taurenmd/tox.ini (pid 2348)
  removing /tmp/taurenmd/.tox/log
could not satisfy requires PackageNotFoundError('tox-conda')
using tox-3.24.5 from /opt/conda/lib/python3.9/site-packages…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ymyzk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Asks a question about tox-gh-actions
2 participants
Converted from issue

This discussion was converted from issue #102 on April 05, 2023 14:12.