From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>
Cc: "Kevin Wolf" <kwolf@redhat.com>, "Fam Zheng" <fam@euphon.net>,
"Vladimir Sementsov-Ogievskiy" <vsementsov@virtuozzo.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
qemu-block@nongnu.org, qemu-devel@nongnu.org,
"Markus Armbruster" <armbru@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Max Reitz" <mreitz@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH 0/7] python: create installable package
Date: Fri, 19 Jun 2020 17:15:17 +0200 [thread overview]
Message-ID: <8e91bf40-34a2-91c2-6cd2-4dbf58dec8cf@redhat.com> (raw)
In-Reply-To: <32791435-4aa4-7eaa-e2c6-b53165f2e28d@redhat.com>
On 6/17/20 10:27 PM, John Snow wrote:
>
>
> On 6/17/20 3:52 PM, Cleber Rosa wrote:
>> On Tue, Jun 02, 2020 at 08:15:16PM -0400, John Snow wrote:
[...]
>> Are you proposing that we have, say, "python-qemu" version 10, being
>> the 10th API version, without any regard to the QEMU version
>> supported? Or version 10.5.3 would mean 10th API version, intended
>> to support QEMU 5.3?
>>
>
> I am proposing only that we use semver to track the API version of the
> SDK itself.
>
> So that could be:
>
> A) 1.x, 2.x, 3.x (etc) with absolutely no connection to the intended
> QEMU support version. It either works or it doesn't. It might not work
> very spectacularly. Major semver bumps indicate a breaking change to the
> library API.
Major changes occurs between QEMU releases. If there is no QEMU release,
it is pointless to release the python-qemu package, right?
>
> B) 1.5.0.0, 1.5.1.0, 1.5.2.0 (etc) where the major version still
> describes the API, but the remainder of the version describes the
> intended target QEMU.
>
> Or, we could do:
>
> C) 5.0.0, 5.1.0, 5.2.0, etc. where it tracks the QEMU version verbatim,
> end of story.
At least it KISS.
>
> I don't like (C) very much, because it violates some prevailing idioms
> about python package versioning. A or B seem better, but do run us into
> potential trouble with people having mismatched versions.
Which is why I prefer (C).
>
> I'd take A or B. (B) is a little chatty but gives some good information
> and allows you to pin versions effectively, so I think I'm leaning
> towards that one right now.
>
> Well, whatever we do right now, I think I do really want to make sure we
> are publishing under 0.x to really give the illustration that we are NOT
> promising even the illusion of stability right now.
next prev parent reply other threads:[~2020-06-19 15:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 0:15 [PATCH 0/7] python: create installable package John Snow
2020-06-03 0:15 ` [PATCH 1/7] python/qemu: create qemu.lib module John Snow
2020-06-05 12:33 ` Vladimir Sementsov-Ogievskiy
2020-06-03 0:15 ` [PATCH 2/7] python/qemu: formalize as package John Snow
2020-06-05 14:40 ` Vladimir Sementsov-Ogievskiy
2020-06-05 15:42 ` John Snow
2020-06-05 19:23 ` John Snow
2020-06-03 0:15 ` [PATCH 3/7] python/qemu: add README.rst John Snow
2020-06-05 14:56 ` Vladimir Sementsov-Ogievskiy
2020-06-05 16:18 ` John Snow
2020-06-03 0:15 ` [PATCH 4/7] python/qemu: Add pipenv support John Snow
2020-06-05 15:37 ` Vladimir Sementsov-Ogievskiy
2020-06-05 15:54 ` John Snow
2020-06-05 16:21 ` Vladimir Sementsov-Ogievskiy
2020-06-05 17:11 ` John Snow
2020-06-06 5:31 ` Vladimir Sementsov-Ogievskiy
2020-06-03 0:15 ` [PATCH 5/7] python/qemu: add pylint to pipenv John Snow
2020-06-03 0:15 ` [PATCH 6/7] python/qemu: Add flake8 " John Snow
2020-06-03 0:15 ` [PATCH 7/7] python/qemu: add mypy " John Snow
2020-06-06 5:53 ` [PATCH 0/7] python: create installable package Vladimir Sementsov-Ogievskiy
2020-06-08 14:14 ` John Snow
2020-06-17 19:52 ` Cleber Rosa
2020-06-17 20:27 ` John Snow
2020-06-18 9:23 ` Kevin Wolf
2020-06-19 15:04 ` John Snow
2020-06-19 16:44 ` Kevin Wolf
2020-06-19 17:14 ` John Snow
2020-06-19 15:09 ` Philippe Mathieu-Daudé
2020-06-19 15:15 ` Philippe Mathieu-Daudé [this message]
2020-06-19 16:10 ` John Snow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e91bf40-34a2-91c2-6cd2-4dbf58dec8cf@redhat.com \
--to=philmd@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=fam@euphon.net \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).