This repository was archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Update version to match Podman #34
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
|
||
setup( | ||
name='podman', | ||
version=os.environ.get('PODMAN_VERSION', '0.0.0'), | ||
version=os.environ.get('PODMAN_VERSION', '1.4.3'), | ||
description='A library for communicating with a Podman server', | ||
author='Jhon Honce', | ||
author_email='[email protected]', | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not an issue to merge these changes but they will be removed if we merge my changes.
Also I've some comments:
My proposed changes on Improve packaging by using PBR #25 would avoid to do this and would manage this by using
git tag
. With my changes you just need to publish a newgit tag
on github who refer your version ofpodman
and it will be automatically published on pypi without any manual handling, and you don't need to take care about the version management, just publish a git tag...I don't know in which cases the
PODMAN_VERSION
env var can exist on the system, I suppose when podman is installed, so in this case if we install a different version ofpython-podman
not the really the same thanpodman
you need to assume that they can be incompatible or things like that... I'm sure it's a good things to retrieve the python client version from the podman version...Also how to manage the client version if we want to install from pypi? If you choose to use the env var to determine the python package version, and if you build it locally and the then publish it on pypi you need to take care to have the right podman installed version.
I hope my comment can help you.
Do not hesitate to ask things if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am willing to entertain other ideas. The version of Podman that we build with python-podman should be pretty close. I would expect that podman-python 1.4.3 should work with podman 1.4.3 or later versions. Might work with older versions.