Skip to content

SNOW-751214 pin tox<4 temporarily #1458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

sfc-gh-mkeller
Copy link
Collaborator

@sfc-gh-mkeller sfc-gh-mkeller commented Feb 28, 2023

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Relates to the new 3.0.1 release. SNOW-751214 is used to track this

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    tox-external-wheels uses the internals of tox which have changed in version 4 and above. We need to fully switch away from it before we can use the newest versions everywhere.
    See that this PR fixes tests:
    37: https://jenkins.int.snowflakecomputing.com/job/RT-PyConnector37-Win/545/
    38: https://jenkins.int.snowflakecomputing.com/job/RT-PyConnector38-Win/436/
    39: https://jenkins.int.snowflakecomputing.com/job/RT-PyConnector39-Win/370/
    310: https://jenkins.int.snowflakecomputing.com/job/RT-PyConnector310-Win/67/
    311:

@@ -36,7 +36,7 @@ if %errorlevel% neq 0 goto :error
call %venv_dir%\scripts\activate
if %errorlevel% neq 0 goto :error

python -m pip install -U pip tox tox-external-wheels
python -m pip install -U pip "tox<4" tox-external-wheels
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as an alternative, we could keep using tox4 and use the --installpkg option in tox4?

@sfc-gh-kdama sfc-gh-kdama marked this pull request as ready for review March 1, 2023 00:39
@sfc-gh-kdama sfc-gh-kdama merged commit ec95c56 into main Mar 1, 2023
@sfc-gh-kdama sfc-gh-kdama deleted the mkeller/SNOW-751214-pin_tox branch March 1, 2023 00:58
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants