Giter VIP home page Giter VIP logo

Comments (2)

jlowin avatar jlowin commented on May 10, 2024

It's very important for this to be exposed in Prefect itself, since flows may need to know their version to talk to the server on a deprecated API.

I think I vote for method 1, which looks the scariest but seems the most practical. As long as __version__ = '0.2.0' is created in __init__.py, we're fine and I think we'll get an automatic unit test fail if it isn't (since there will be no version to install)

from prefect.

cicdw avatar cicdw commented on May 10, 2024

We should also consider https://github.com/warner/python-versioneer as this will be much more subtle in how it updates __version__. For example, right now if we released 0.2.0 to users, our customer flows would claim to be using 0.2.0. As we continue to work on our local machines, our flows would too even though we are working in a 0.2.0+e development version. With versioneer, our flows would actually correctly record that they were created on 0.2.0+sha-noise where the sha-noise relates to the git commit hash.

from prefect.

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.