Skip to content
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

Support tox 4 #34839

Closed
mkoeppe opened this issue Dec 12, 2022 · 23 comments
Closed

Support tox 4 #34839

mkoeppe opened this issue Dec 12, 2022 · 23 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 12, 2022

tox 4 renamed a tox.ini configuration keyword and has slightly changed quoting behavior.

Also tox >= 3.18 supports the renamed keyword - https://tox.wiki/en/3.27.1/changelog.html#v3-18-0-2020-07-23

Also the changed quote works with both versions.

Component: packages: standard

Author: Matthias Koeppe, Frédéric Chapoton

Branch/Commit: 70da140

Reviewer: Frédéric Chapoton, Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/34839

@mkoeppe mkoeppe added this to the sage-9.8 milestone Dec 12, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

Branch: u/mkoeppe/support_tox_4

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

New commits:

d302a62tox.ini, src/tox.ini: Adjust to tox 4, autoprovision tox >= 3.18

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

Commit: d302a62

@mkoeppe

This comment has been minimized.

@fchapoton
Copy link
Contributor

comment:4

The linter is finding rst issues outside of src/sage. Is this the desired behaviour ?

By the way, one should rather fix these issues.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 12, 2022

Changed commit from d302a62 to f8703ae

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 12, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

f8703ae.github/workflows/lint.yml: Invoke tox with --

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

comment:6

relint is fixed now - is this what you meant?

@fchapoton
Copy link
Contributor

comment:7

no. I am talking about the errors seen in the third report

https://github.com/sagemath/sagetrac-mirror/actions/runs/3674822970/jobs/6213509002

@fchapoton
Copy link
Contributor

Changed commit from f8703ae to 9d76204

@fchapoton
Copy link
Contributor

Changed branch from u/mkoeppe/support_tox_4 to u/chapoton/support_tox_4

@fchapoton
Copy link
Contributor

comment:8

I have tried to fix these errors, let us see


New commits:

9d76204fix some rst issues in sage_docbuild and sage_setup

@fchapoton
Copy link
Contributor

comment:9

looks good to me. Please check my commit and then set to positive.

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

comment:10

Thanks!

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

Changed reviewer from Frédéric Chapoton to Frédéric Chapoton, Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Dec 12, 2022

Changed author from Matthias Koeppe to Matthias Koeppe, Frédéric Chapoton

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 27, 2022

Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:

70da140Merge branch 'u/chapoton/support_tox_4' in 9.8.b6

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 27, 2022

Changed commit from 9d76204 to 70da140

@fchapoton
Copy link
Contributor

comment:12

setting back to positive after trivial rebase

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jan 2, 2023

comment:13

"Critical" because it repairs the broken Lint workflow

@vbraun
Copy link
Member

vbraun commented Jan 12, 2023

Changed branch from u/chapoton/support_tox_4 to 70da140

@vbraun vbraun closed this as completed in 2dcafb3 Jan 12, 2023
kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
kryzar pushed a commit to kryzar/sage that referenced this issue Feb 6, 2023
mkoeppe added a commit to mkoeppe/sage that referenced this issue Feb 13, 2023
mkoeppe added a commit to mkoeppe/sage that referenced this issue May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants