tox-dev / azure-pipelines-template

template for your azure pipelines
24 stars 16 forks source link

sdistonly replacement #19

Closed jabbera closed 1 year ago

jabbera commented 1 year ago

What's the correct replacement for this step since sdistonly was removed from 4?

https://github.com/tox-dev/azure-pipelines-template/blob/c231fdfb68d4f3d7ca09be0d72db1a56a1c46767/merge-coverage.yml#L50

gaborbernat commented 1 year ago

It was not https://tox.wiki/en/latest/cli_interface.html#tox-run--b 🤔

jabbera commented 1 year ago

@gaborbernat The actual problem I'm having is that this line linked is causing tests to run in 4.0.2 but not in 3.X.

Snipped output from: python -m tox -e py -vv --sdistonly

2022-12-08T16:53:35.4505376Z Successfully installed X.metal-0.0a1
2022-12-08T16:53:35.5390952Z py: 128134 I exit 0 (6.38 seconds) /agent/_work/1/s> python -I -m pip install --force-reinstall --no-deps .tox/.tmp/package/1/X.metal-0.0a1.tar.gz pid=4297 [tox/execute/api.py:275]
2022-12-08T16:53:35.5401255Z py: 128136 W commands[0]> pytest --cov=X.metal --cov-report xml:.tox/coverage.xml --cov-report term-missing --junitxml=.tox/junit.py.xml [tox/tox_env/api.py:398]

I found the depreciation message and assumed that was the issue. Didn't realize it came back. Sorry! Do you want me to move this bug somewhere else?

gaborbernat commented 1 year ago

This is a tox issue bug, fill it there and make it more verbose as this is not enough to troubleshoot.