
Hi, I'm trying to figure out what is the recommended way of setting my private devpi server URL in tox. First I thought of indexserver tox.ini option but this one seems to be deprecated (and eventually will go away) Is currently setting the install_command to pip install -i ... is the way to go? I'd appreciate any help. Thanks! Mariusz

On 27 Jun 2019, at 12:21, Mariusz Rusiniak wrote:
Hi,
I'm trying to figure out what is the recommended way of setting my private devpi server URL in tox. First I thought of indexserver tox.ini option but this one seems to be deprecated (and eventually will go away)
Is currently setting the install_command to pip install -i ... is the way to go?
Hi! I was surprised to see that indexserver is deprecated without an alternative. It seems like the -i/--index-url option of tox itself is the way to go, but that only works for CI systems and not for development environments, unless there is a way to set command line options from the config file like in pytest which I didn't see. Regards, Florian Schulze

Hi, I don‘t see a reason why this should be deprecated. If there was a reason, it‘s lost in time, so I‘d vote for undeprecating it (if that‘s a word :)) Cheers, Oliver Sent from some mobile thing without proper keyboard. Please forgive terseness and typos :)
On 27. Jun 2019, at 12:21, Mariusz Rusiniak <mariusz.rusiniak@gmail.com> wrote:
Hi,
I'm trying to figure out what is the recommended way of setting my private devpi server URL in tox. First I thought of indexserver tox.ini option but this one seems to be deprecated (and eventually will go away)
Is currently setting the install_command to pip install -i ... is the way to go?
I'd appreciate any help. Thanks! Mariusz _______________________________________________ tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/

Hi! I dug a bit into the history and it looks like indexserver allows multiple indexes to be specified. I'm pretty sure that the "multiple" part is the deprecated one, because of this changelog entry: - DEPRECATE use of "indexservers" in tox.ini. It complicates the internal code and it is recommended to rather use the devpi system for managing indexes for pip. I think specifying a single index server which is passed on to the -i option of pip is highly desirable. Regards, Florian Schulze On 29 Jun 2019, at 0:15, Oliver Bestwalter wrote:
Hi,
I don‘t see a reason why this should be deprecated. If there was a reason, it‘s lost in time, so I‘d vote for undeprecating it (if that‘s a word :))
Cheers, Oliver
Sent from some mobile thing without proper keyboard. Please forgive terseness and typos :)
On 27. Jun 2019, at 12:21, Mariusz Rusiniak <mariusz.rusiniak@gmail.com> wrote:
Hi,
I'm trying to figure out what is the recommended way of setting my private devpi server URL in tox. First I thought of indexserver tox.ini option but this one seems to be deprecated (and eventually will go away)
Is currently setting the install_command to pip install -i ... is the way to go?
I'd appreciate any help. Thanks! Mariusz _______________________________________________ tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/
tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/

Hi, thanks Florian for looking into this - I still think we should remove the deprecation completely and opened an issue here: https://github.com/tox-dev/tox/issues/1357 Cheers, Oliver On 6/29/19 9:51 AM, Florian Schulze wrote:
Hi!
I dug a bit into the history and it looks like indexserver allows multiple indexes to be specified. I'm pretty sure that the "multiple" part is the deprecated one, because of this changelog entry:
- DEPRECATE use of "indexservers" in tox.ini. It complicates the internal code and it is recommended to rather use the devpi system for managing indexes for pip.
I think specifying a single index server which is passed on to the -i option of pip is highly desirable.
Regards, Florian Schulze
On 29 Jun 2019, at 0:15, Oliver Bestwalter wrote:
Hi,
I don‘t see a reason why this should be deprecated. If there was a reason, it‘s lost in time, so I‘d vote for undeprecating it (if that‘s a word :))
Cheers, Oliver
Sent from some mobile thing without proper keyboard. Please forgive terseness and typos :)
On 27. Jun 2019, at 12:21, Mariusz Rusiniak <mariusz.rusiniak@gmail.com> wrote:
Hi,
I'm trying to figure out what is the recommended way of setting my private devpi server URL in tox. First I thought of indexserver tox.ini option but this one seems to be deprecated (and eventually will go away)
Is currently setting the install_command to pip install -i ... is the way to go?
I'd appreciate any help. Thanks! Mariusz _______________________________________________ tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/
tox-dev mailing list -- tox-dev@python.org To unsubscribe send an email to tox-dev-leave@python.org https://mail.python.org/mailman3/lists/tox-dev.python.org/
participants (3)
-
Florian Schulze
-
Mariusz Rusiniak
-
Oliver Bestwalter