Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain versioning system #294

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Explain versioning system #294

wants to merge 5 commits into from

Conversation

ndrezn
Copy link
Member

@ndrezn ndrezn commented Apr 25, 2024

Explains how versioning works, and adds a test to ensure we actually follow the system!

ag_version = parse(dag.grid_version)
dash_ag_version = parse(dag.__version__)

assert (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm I guess we only would want to run this test when the version is bumped...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's why it needs to be a test before dist and not on github

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Touche.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this even need to be a test?

I think you should just run the script by itself and not muddy up the tests/ path?

If a new contributor wanted to run tests and bumped their version this would fail with pytest

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm yeah, that's a good idea. Let me think about this for a minute. It might make sense to move it out, or to have a tests config file to exclude it unless specified..

@gvwilson
Copy link
Contributor

@ndrezn @BSd3v can we please give this some love?

@gvwilson gvwilson added documentation written for humans fix fixes something broken P2 needed for current cycle labels Aug 13, 2024
BSd3v and others added 2 commits September 27, 2024 19:12
…fter the build to make sure that the package for the test is the currently coded package. Otherwise you can fail and pass errantly.
@BSd3v
Copy link
Collaborator

BSd3v commented Oct 1, 2024

@ndrezn, @gvwilson, thoughts on the changes?

Should we describe the testing behaviour in the contributing guide?

eg: test_version.py => AG-grid in unison within itself, test_versioning.py DAG is in unison with AG-grid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation written for humans fix fixes something broken P2 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants