Giter VIP home page Giter VIP logo

Comments (2)

CamDavidsonPilon avatar CamDavidsonPilon commented on August 22, 2024

I agree, though I find tag management to be not obvious to me. Can you provide your own workflow, or a workflow you have seen?

from tdigest.

FlorianWilhelm avatar FlorianWilhelm commented on August 22, 2024

If you are using no tool for this purpose I think the default way is in order to make a new release is:

  • Update the version to the new version number in setup.py, let's call the version X.Y.Z
  • Also update __version___ in __init__.py to X.Y.Z what most tools provide, check numpy, scipy etc.
    import numpy as np; print(np.__version__)
  • Update your readme and changelog files to reflect the new version
  • Run all your unit tests again and check that they work
  • Commit this and call it "Version bump"
  • Create a git tag X.Y.Z
  • Build and submit the package to PyPI, i.e. python setup.py bdist_wheel upload

My personal recommendation is to just use PyScaffold which will provide an automised version scheme during development. When you want to release it's only:

  • Update Readme and Changelog
  • Commit everything
  • Create a git tag
  • Build and submit your package

PyScaffold will handle the rest like setting the version number everywhere.

from tdigest.

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.