Skip to content

Release consistency with version in package.json #103

Open
@batpad

Description

@batpad

This might be a nit that we should totally ignore -

Currently, we publish the jupyterhub-fancy-profiles python package to PyPi using the version specified in the latest git tag. Currently, the latest version on PyPi is v0.4.0: https://pypi.org/project/jupyterhub-fancy-profiles/0.4.0/

We also have a package.json in the root folder with a version field, that is just static at 1.0.0: https://github.com/2i2c-org/jupyterhub-fancy-profiles/blob/main/package.json#L3

This inconsistency is a little jarring, but I'm also not convinced that duplicating the tagged version in package.json as part of a release process is really the best solution.

I think options I see are:

  • Bring the version in package.json to be consistent with the tagged version. This either needs to be done manually before making a release and added to release documentation, or automated some-how with automatically making a commit updating package.json (and pushing to main?) from CI when publishing a new tag. I don't think I like either of these options.
  • Do nothing. Let package.json specify a different version - especially since we are publishing a Python package and not an npm package, I think this is okay - ideally, we'd add a comment, but it's JSON so we can't add comments.

Just filing this since I noticed the inconsistency and in case people have strong opinions one way or another - I don't think I have an especially strong opinion here. cc @yuvipanda

I'll wait a day for any strong feelings around handling this version mismatch, then I'll go ahead and release 0.5.0 with the TypeScript updates based on the current release process.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions