Git Product home page Git Product logo

Comments (7)

sondrelg avatar sondrelg commented on August 26, 2024

I'm a bit torn on what to do, since removing the v1/v1.0 tags might break people's environments if they've already specified those explicitly right. It also seems weird to me that pre-commit upgrades to a mutable reference yet complains about it.

Then again, this is a pre-commit hook primarily, and it might make sense to just get rid of the unfit tags.

What do you think?

@JonasKs, do you have a take on this?

from pep585-upgrade.

alkatar21 avatar alkatar21 commented on August 26, 2024

I don't know if the problem will solve itself with the next release, if there is only 1.0.2 or 1.1.0 on the latest commit, depending on what it will be?

from pep585-upgrade.

JonasKs avatar JonasKs commented on August 26, 2024

I'm a bit torn on what to do, since removing the v1/v1.0 tags might break people's environments if they've already specified those explicitly right.

Do we need to remove tags? Or is it enough to release a new one? 🤔 I don't like the sound of removing tags 👀

from pep585-upgrade.

sondrelg avatar sondrelg commented on August 26, 2024

I think v1.2.0 would still be upgraded to v1, so a v2 release would be necessary to resolve the issue. Doubt pre-commit autoupdate will upgrade to v2 for you, so not sure that's a good solution either (but happy to be proven wrong about both points).

from pep585-upgrade.

alkatar21 avatar alkatar21 commented on August 26, 2024

I think a v2 will not solve the problem, at most v2.0.0 maybe. But I don't know that for sure. If it doesn't, only deleting would help, though I also see the problem that comes with that.
Whereby there is then either no update possibility or possibly some not working configs as alternatives. I would prefer the update option in the long run.

from pep585-upgrade.

sondrelg avatar sondrelg commented on August 26, 2024

Don't seem like it would necessarily require too much work to change the behavior of the autoupdate function if that's something they'd accept. Here's the relevant code.

from pep585-upgrade.

sondrelg avatar sondrelg commented on August 26, 2024

I'm officially deprecating this project, as pyupgrade now fills the gap this once did. The package can still be used, but I'm not intending to spend any more time maintaining it, so closing this for now 🙂

from pep585-upgrade.

Related Issues (12)

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.