[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-02-07 Thread MartinBasti
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

MartinBasti commented:
"""
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/66fa0585aa3a7219aa3f5b548a0a84f052d62b8e
https://fedorahosted.org/freeipa/changeset/bd83fdf51621fe777c1f7823dcb13c4dfa26fa8e
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-277982495
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-02-01 Thread HonzaCholasta
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

HonzaCholasta commented:
"""
LGTM
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-276612233
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-02-01 Thread MartinBasti
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

MartinBasti commented:
"""
bump for review
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-276607135
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tomaskrizek
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tomaskrizek commented:
"""
@HonzaCholasta Perhaps it's more of a personal preference, but I'd rather see 
an existing version of a certain package. Since the spec file is processed 
automatically, I guess it doesn't make a difference. But it could confuse 
someone who reads the file and looks for a certain version of the mentioned 
package.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273521294
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread HonzaCholasta
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

HonzaCholasta commented:
"""
I see, didn't notice that. In this case, IMO either the current `pki-base >= 
10.2.1` or an unversioned `pki-base-python2` is fine.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273498651
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
You would still depend on potentially non-existing package. 
```pki-base-python2``` was introduced in 10.3. ```pki-base``` will switch to 
Python 3 as soon as RHEL has Python 3 in its base distribution.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273493381
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread HonzaCholasta
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

HonzaCholasta commented:
"""
@tiran, I'm sorry to have to point this out, but the decision whether this PR 
is accepted or not is not yours to make, you are not a member of the core team 
and this is in no way related to your integration work.

As a maintainer of IPA packages in RHEL I obviously prefer it my way. What you 
prefer when you co-maintain PKI Python packages is your bussiness and is not 
relevant here. A compromise I would be willing to accept is that the 
`pki-base-python3` dependency will be unversioned, but `pki-base-python2` must 
stay `>= 10.2.1`.

@tomaskrizek, why do you think it's a bad practice? The condition merely limits 
the set of package versions that satisfy the dependency, but the set is still 
infinite and an infinite number of non-existents packages *always* fall in the 
set. Strictly speaking, `10.3.5-6` is not an existing package version either, 
you won't find an `pki-base-python2-10.3.5-6.rpm` anywhere.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273488422
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tomaskrizek
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tomaskrizek commented:
"""
I agree with @tiran here. Even though `>= 10.2.1` will match the correct 
package, I don't think it's a good practice to use non-existent package numbers 
in `BuildRequires`.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273468841
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
I can't see a valid argument in your response. As a co-maintainer of PKI's 
Python packages I'm strictly against claiming compatibility with a non-existing 
package version range. The PR is fine as it stands and I'm going to ACK it 
tomorrow. If you still like to veto against my ACK, please start a motion on 
the developer list and ask the rest of the team for their opinion.

You also mentioned that CI might not pick up build requirements correctly. I 
agree that this is a problem and must be fixed ASAP. We must be able to rely on 
CI tests. Please open a separate ticket.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273465183
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread HonzaCholasta
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

HonzaCholasta commented:
"""
That is of no concern to us. `pki-base-python3 >= 10.2.1` will get us the 
correct package in all cases and under no circumstances will it cause an 
attempt to install a non-existent package. Note that `pki-base-python2 >= 
10.2.1` means that FreeIPA is also compatible with 
`pki-base-python2-10.2.1.0.1.2.3`, which clearly doesn't exist either, but that 
doesn't make the dependency wrong in any way whatsoever.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273459096
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
```pki-base-python3 >= 10.2.1``` would mean that FreeIPA is compatible with 
```pki-base-python2 == 10.2.1``` which clearly does not exist.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273425618
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread HonzaCholasta
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

HonzaCholasta commented:
"""
@tiran, the dependency says `>= 10.2.1`, not `== 10.2.1`, so we are not 
depending on any non-existent packages.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273420737
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2017-01-18 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
What's the hold up here?

Martin and I discussed the necessity to raise the version requirements. Python 
3 packages for PKI simply do not exist until 10.3. I don't want to depend on a 
non-existing package.

In case there are some issues with our CI and proper updates of build 
requirements, then the issue should be handled by a separate ticket.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-273416279
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread jcholast
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

jcholast commented:
"""
@mbasti-rh, please don't bump BuildRequires unless it is actually necessary for 
the build to not fail. Raising the version does not guarantee that the package 
version used during build and checked by pylint will be the same as the version 
used during run time anyway, so the change achieves nothing.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267532993
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread jcholast
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

jcholast commented:
"""
@mbasti-rh, please don't bump BuildRequires unless it is actually necessary for 
the build to not fail. Raising the version does not guarantee that the package 
version used during build will be the same as the version used during run time 
anyway, so the change achieves nothing.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267532993
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread mbasti-rh
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

mbasti-rh commented:
"""
Ah my previous patch was right then. BuildRequires version is lower because 
build works with lower version. I can raise that version just to be sure that 
pylint is checking the right packages
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267362994
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
What I meant with different minimal version, FreeIPA requires pki-ca and kra 
10.3.5 and newer.

```
Requires: pki-ca >= 10.3.5-6
Requires: pki-kra >= 10.3.5-6
```

Is there a reason why the minimal version for the pki-base package is smaller? 
All Dogtag PKI packages pull in other PKI packages with exactly the same 
version (e.g. ```pki-base = %{version}-%{release}```). Even more import, there 
is no Python 3 pki-base package for 10.2! I added the new package for 10.3. :)

Lastly pki-base just happens to provide Python 2 packages for now. In 10.4 or 
10.5 we may switch over the Python 3. If you need ```pki``` Python package with 
guaranteed Python 2 support, then please depend on pki-base-python2 (currently 
provided by pki-base).

"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267361403
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread mbasti-rh
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

mbasti-rh commented:
"""
It has Py3 Build dependency
Fixed.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267355819
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#336][comment] [py3] pki: add missing depedency pki-base[-python3]

2016-12-15 Thread tiran
  URL: https://github.com/freeipa/freeipa/pull/336
Title: #336: [py3] pki: add missing depedency pki-base[-python3]

tiran commented:
"""
BuildRequires has no python3 dependency and a different minimal version.

```
BuildRequires:  pki-base >= 10.2.1
```
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/336#issuecomment-267348102
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code