Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-06-14 Thread Thomas Goirand

On 6/14/22 22:44, Samuel Henrique wrote:

Hello Thomas,


Since I added so many autopkgtest, what I can do is upload the latest
version to Experimental, and let the Debian CI run its tests against
what's currently in Unstable. Then the pseudo excuse page will show how
it goes.

Maybe you can also deal with the latest version of python-jsonschema in
Experimental for a short time too?


That would certainly be helpful, the diff on ansible-lint is slowly
growing so it would be good to at least have it in experimental.


Note I wrote to the OpenStack list and ask if we can upgrade jsonschema.
Please allow a few days until I get some replies.


Awesome, thank you!

--
Samuel Henrique 


Hi Samuel,

You probably saw I uploaded 4.6.0 to Experimental already. Let me know 
if it works well enough for you. I had to redesign a bit the package as 
upstream switched to Poetry (from setuptools).


As you can see from here:
https://release.debian.org/britney/pseudo-excuses-experimental.html#python-jsonschema

there are many regressions in OpenStack, as I expected. The most 
worrisome is the Nova one (Nova is the core of OpenStack, the one that 
spawns VMs...).


I'd very much prefer to have enough time to fix them before uploading 
jsonschema 4.6.0 to Unstable.


Cheers,

Thomas Goirand (zigo)



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-06-14 Thread Samuel Henrique
Hello Thomas,

> Since I added so many autopkgtest, what I can do is upload the latest
> version to Experimental, and let the Debian CI run its tests against
> what's currently in Unstable. Then the pseudo excuse page will show how
> it goes.
>
> Maybe you can also deal with the latest version of python-jsonschema in
> Experimental for a short time too?

That would certainly be helpful, the diff on ansible-lint is slowly
growing so it would be good to at least have it in experimental.

> Note I wrote to the OpenStack list and ask if we can upgrade jsonschema.
> Please allow a few days until I get some replies.

Awesome, thank you!

--
Samuel Henrique 



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-06-12 Thread Thomas Goirand

On 5/29/22 15:08, Samuel Henrique wrote:

Hello all,

The recent releases of ansible-lint (>= 6.1.0) requires python-jsonschema

= 4.5.1, mainly due to the following bugfix (thought there might be

other changes required from that release):
https://github.com/python-jsonschema/jsonschema/pull/940

Thomas, are you aware of anything specific which will break openstack
or is it because it hasn't been tested yet?


It's because it hasn't been tested yet. I've seen many cases were 
uploading a single package breaks everything...


Since I added so many autopkgtest, what I can do is upload the latest 
version to Experimental, and let the Debian CI run its tests against 
what's currently in Unstable. Then the pseudo excuse page will show how 
it goes.


Maybe you can also deal with the latest version of python-jsonschema in 
Experimental for a short time too?


Note I wrote to the OpenStack list and ask if we can upgrade jsonschema. 
Please allow a few days until I get some replies.


Cheers,

Thomas Goirand (zigo)



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-06-12 Thread Bastian Germann

Hi,

I would also like to stress that I would like to see dt-schema moving to a version that one can actually use for current 
Linux kernel's device tree checking. As of now I have to pip install jsonschema and dt-schema for this use case.


Lots of kernel developers on Debian will be thankful for this to be resolved.

Thanks,
Bastian



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-05-29 Thread Samuel Henrique
Hello all,

The recent releases of ansible-lint (>= 6.1.0) requires python-jsonschema
>= 4.5.1, mainly due to the following bugfix (thought there might be
other changes required from that release):
https://github.com/python-jsonschema/jsonschema/pull/940

Thomas, are you aware of anything specific which will break openstack
or is it because it hasn't been tested yet?

Thank you,

--
Samuel Henrique 



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-05-05 Thread Thomas Goirand

On 2/14/22 14:50, Agathe Porte wrote:

Source: python-jsonschema
Version: 3.2.0-5
Severity: wishlist
X-Debbugs-Cc: deb...@microjoe.org

Dear Maintainer,

I am currently packaging dtschema (see ITP #1005301 [0]). This package
seems to use a validator introduced in 2019 but not available in the
current 3.2 release.

Here is the test failing during package build:


==
ERROR: dtschema (unittest.loader._FailedTest)
--
ImportError: Failed to import test module: dtschema
Traceback (most recent call last):
   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
 package = self._get_module_from_name(name)
   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
_get_module_from_name
 __import__(name)
   File 
"/home/microjoe/dev/debian/result/dt-schema/.pybuild/cpython3_3.9_dt-schema/build/dtschema/__init__.py",
 line 1, in 
 from dtschema.lib import (
   File 
"/home/microjoe/dev/debian/result/dt-schema/.pybuild/cpython3_3.9_dt-schema/build/dtschema/lib.py",
 line 766, in 
 DTVal = jsonschema.validators.extend(jsonschema.Draft201909Validator, 
{'typeSize': typeSize, 'phandle': phandle})
AttributeError: module 'jsonschema' has no attribute 'Draft201909Validator'


--
Ran 1 test in 0.000s

FAILED (errors=1)



It seems to be that providing the latest 4.4.0 release should solve this
issue, and allow me to finish the packaging of the dtschema package. The
`Draft201909Validator` was introduced a commit 6 months ago in upstream
[1].

Bests regards,

Agathe.


Hi,

python-jsonschema is packaged as part of the OpenStack components. Until 
OpenStack upgrades to that version, I wont be upgrading the package. 
Thanks for your understanding.


Cheers,

Thomas Goirand (zigo)



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-05-03 Thread Agathe Porte

Hi,

Any news concerning this request? If the versions are not compatible or 
this cannot be updated, I may create ITP "python-jsonschema4" and 
maintain it under Debian Python Team.


Bests,

Agata.



Bug#1005757: python-jsonschema: Please provide latest upstream release 4.4.0

2022-02-14 Thread Agathe Porte
Source: python-jsonschema
Version: 3.2.0-5
Severity: wishlist
X-Debbugs-Cc: deb...@microjoe.org

Dear Maintainer,

I am currently packaging dtschema (see ITP #1005301 [0]). This package
seems to use a validator introduced in 2019 but not available in the
current 3.2 release.

Here is the test failing during package build:

> ==
> ERROR: dtschema (unittest.loader._FailedTest)
> --
> ImportError: Failed to import test module: dtschema
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
> __import__(name)
>   File 
> "/home/microjoe/dev/debian/result/dt-schema/.pybuild/cpython3_3.9_dt-schema/build/dtschema/__init__.py",
>  line 1, in 
> from dtschema.lib import (
>   File 
> "/home/microjoe/dev/debian/result/dt-schema/.pybuild/cpython3_3.9_dt-schema/build/dtschema/lib.py",
>  line 766, in 
> DTVal = jsonschema.validators.extend(jsonschema.Draft201909Validator, 
> {'typeSize': typeSize, 'phandle': phandle})
> AttributeError: module 'jsonschema' has no attribute 'Draft201909Validator'
>
>
> --
> Ran 1 test in 0.000s
>
> FAILED (errors=1)


It seems to be that providing the latest 4.4.0 release should solve this
issue, and allow me to finish the packaging of the dtschema package. The
`Draft201909Validator` was introduced a commit 6 months ago in upstream
[1].

Bests regards,

Agathe.

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005301
[1] 
https://github.com/Julian/jsonschema/commit/d104bdbe2ce3f283e4e2bbf2a5fe7f6f7d6f7280


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled