Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Change default npm/python versions to valid semver #patch #293

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

MorpheusXAUT
Copy link
Contributor

TL;DR

Updated the default (develop) version specified in package.json/setup.py files to contain valid semver.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

The version specified for the npm/python package generated from flyteidl is set to "develop", which is not valid semver format and leads to npm/yarn refusing to use the repository as a git dependency.
This PR changes the default version to 0.0.0-develop and 0.0.0+develop for npm and python respectively, remaining the clear indication that anything packages from this is a development build while ensuring no accidental upgrades to this package will be performed as its version number is below anything published and the appended -+develop makes it a pre-release/local version with even lower priority.
A similar setup already exists for the python package of the flytekit repository.

As mentioned in the issue, the main benefit of this would be PRs to flyteconsole using unreleased versions of flyteidl as well as the option for (private) forks of flyte to use the flyteidl repository as a direct dependency for npm (and potentially python, although untested).

Tracking Issue

fixes flyteorg/flyte#2408

Follow-up issue

NA

@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #293 (a1488a4) into master (56ef7ba) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   74.77%   74.77%           
=======================================
  Files          15       15           
  Lines         991      991           
=======================================
  Hits          741      741           
  Misses        218      218           
  Partials       32       32           
Flag Coverage Δ
unittests 75.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56ef7ba...a1488a4. Read the comment docs.

@hamersaw hamersaw self-requested a review April 27, 2022 17:03
@katrogan katrogan merged commit 40c00fe into flyteorg:master Apr 27, 2022
@welcome
Copy link

welcome bot commented Apr 27, 2022

Congrats on merging your first pull request! 🎉

eapolinario pushed a commit that referenced this pull request Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Housekeeping] Use valid default npm version in flyteidl
4 participants