GithubHelp home page GithubHelp logo

Comments (4)

samcunliffe avatar samcunliffe commented on June 10, 2024

Thanks a lot for trying it out!

@paddyroddy, @p-j-smith, what do you think? I'd be up for pinning tox v4 and deleting all the legacy stuff.
We get tox 4.3 on the GitHub runners. And newer is... gooder?

Is there some place where v3 is kicking around? (my 🍎 brew and pip both give me 4.6).

from python-tooling.

p-j-smith avatar p-j-smith commented on June 10, 2024

I'd be up for pinning tox v4 and deleting all the legacy stuff.

yeah definitely, newer is much gooder. tox v4 requires Python>=3.7, but I think that's fine?

from python-tooling.

matt-graham avatar matt-graham commented on June 10, 2024

Is there some place where v3 is kicking around? (my 🍎 brew and pip both give me 4.6).

Good question. I'm not sure why the local conda environment I was using picked the older version it did (v3.27.1), but guessing one of the upstream dependencies when I created environment was pinning tox<4 as v3.27.1 seems to be the latest v3.x release for which a conda-forge package is available, though conda happily updated to v4.6.4 in the same environment when I noticed the above issue so doesn't seem to be anything restricting now. Don't know of any good reasons for not using tox v4 so seems safe to pin, and at least this would give a loud error when trying to resolve dependencies if another package is restricting the tox version.

from python-tooling.

paddyroddy avatar paddyroddy commented on June 10, 2024

Some thoughts:

  • tox==4.0.0 came out on 07/12/2022. I hadn't considered that people might even be using earlier versions. Makes sense to pin (I try to refrain from pinning too much). Personally, I don't think we should be supporting <4.
  • The legacy_tox_ini sounds like its legacy, but it is because pyproject.toml doesn't fully support toml for tox. See here why we do it this way https://tox.wiki/en/4.6.4/config.html#pyproject-toml
  • IMO we don't need to pin the actions. I guess we could, but then what happens when 5 is released and we forget we've pinned it.

I'll raise a PR to fix this - which is just by pinning in pyproject.toml. Thanks for spotting @matt-graham!

from python-tooling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.