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

Use importlib from stdlib (if possible) #627

Merged
merged 3 commits into from
Nov 17, 2019
Merged

Use importlib from stdlib (if possible) #627

merged 3 commits into from
Nov 17, 2019

Conversation

ad-m
Copy link
Contributor

@ad-m ad-m commented Nov 17, 2019

No description provided.

@ad-m ad-m changed the title Use importlib from std (if possible) Use importlib from stdlib (if possible) Nov 17, 2019
@codecov
Copy link

codecov bot commented Nov 17, 2019

Codecov Report

Merging #627 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #627      +/-   ##
=========================================
+ Coverage    95.5%   95.5%   +<.01%     
=========================================
  Files          18      18              
  Lines        2468    2471       +3     
  Branches      309     309              
=========================================
+ Hits         2357    2360       +3     
  Misses         95      95              
  Partials       16      16

@Julian
Copy link
Member

Julian commented Nov 17, 2019

Great, thanks!

@4383
Copy link

4383 commented May 25, 2020

Hello,

I still have an issue with jsonschema and importlib under python 3.8, I seen these changes was released with jsonschema 3.2.0 so I expected that this version solve my issue with py38 but it's not the case.

python3.8 -m pip install --user jsonschema
Collecting jsonschema                                                                                                                                                                                                
  Using cached https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl
Collecting attrs>=17.4.0 (from jsonschema)                                                                                                                                                                           
  Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.11.0 in ./.local/lib/python3.8/site-packages (from jsonschema) (1.13.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/site-packages (from jsonschema) (40.6.2)
Collecting pyrsistent>=0.14.0 (from jsonschema)                                                           
Installing collected packages: attrs, pyrsistent, jsonschema              
Successfully installed attrs-19.3.0 jsonschema-3.2.0 pyrsistent-0.16.0
You are using pip version 18.1, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ python3.8                                                                        
Python 3.8.0a0 (heads/master:57dd79e6f7, May 17 2019, 13:04:54) 
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.                                
>>> import jsonschema             
Traceback (most recent call last):                                                                                                                                                                                   
  File "~/.local/lib/python3.8/site-packages/jsonschema/__init__.py", line 31, in <module>
    from importlib import metadata                                                                        
ImportError: cannot import name 'metadata' from 'importlib' (/usr/local/lib/python3.8/importlib/__init__.py)
                                                     
During handling of the above exception, another exception occurred:
                                                                                                          
Traceback (most recent call last):       
  File "<stdin>", line 1, in <module>                                                                     
  File "/home/hberaud/.local/lib/python3.8/site-packages/jsonschema/__init__.py", line 33, in <module>
    import importlib_metadata as metadata
ModuleNotFoundError: No module named 'importlib_metadata'

Maybe I missed something, any idea?

@Julian
Copy link
Member

Julian commented May 25, 2020

Your Python seems broken. Where did you get it? Try just from importlib import metadata in a REPL -- if it doesn't work, wherever you got the Python from has miscompiled it.

@Julian
Copy link
Member

Julian commented May 25, 2020

Oh. You're on an alpha, so probably that's your issue.

@4383
Copy link

4383 commented May 25, 2020

Oh right good catch, thanks @Julian

@4383
Copy link

4383 commented May 25, 2020

I confirm that moving away from the alpha version fix the issue.

Thanks

openstack-mirroring pushed a commit to openstack/openstacksdk that referenced this pull request May 26, 2020
Introduce support of python 3.8 and move tox and jobs to py38.

jsonschema 3.2.0 [1] support python 3.8

[1] python-jsonschema/jsonschema#627

Change-Id: Ibcfa044dd0f3b29fd290559795ea1d98e194e886
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 26, 2020
* Update openstacksdk from branch 'master'
  - Merge "Refresh python versions"
  - Refresh python versions
    
    Introduce support of python 3.8 and move tox and jobs to py38.
    
    jsonschema 3.2.0 [1] support python 3.8
    
    [1] python-jsonschema/jsonschema#627
    
    Change-Id: Ibcfa044dd0f3b29fd290559795ea1d98e194e886
openstack-mirroring pushed a commit to openstack/governance that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I1d188870ac0b81982af057d7b13b24458cc7da22
openstack-mirroring pushed a commit to openstack/trove that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I511faa17b27eac827922957e4b36108da0dcd0c8
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update trove from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I511faa17b27eac827922957e4b36108da0dcd0c8
openstack-mirroring pushed a commit to openstack/openstack-manuals that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I9f540025c9d57d3c6eb27b0d3821b0ba2329de52
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update openstack-manuals from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I9f540025c9d57d3c6eb27b0d3821b0ba2329de52
openstack-mirroring pushed a commit to openstack/mistral that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I65b1fcff16f7633325a0f42c4ac9ef442f1b352b
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update mistral from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I65b1fcff16f7633325a0f42c4ac9ef442f1b352b
openstack-mirroring pushed a commit to openstack/python-ironicclient that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I743226241a94797c4c790cd09b03c3f7c2927457
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update python-ironicclient from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I743226241a94797c4c790cd09b03c3f7c2927457
openstack-mirroring pushed a commit to openstack/vitrage that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ia4b0d52820a2a2957d883c4786b058c546c10c67
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update vitrage from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Ia4b0d52820a2a2957d883c4786b058c546c10c67
openstack-mirroring pushed a commit to openstack/ironic-inspector that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I944e60f8c1962bfa3b6478b14e682eeca7948098
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update ironic-inspector from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I944e60f8c1962bfa3b6478b14e682eeca7948098
openstack-mirroring pushed a commit to openstack/cinder that referenced this pull request May 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ic79cb4bc06b3078a1f6ebf6be8664b991b0b956b
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request May 27, 2020
* Update cinder from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Ic79cb4bc06b3078a1f6ebf6be8664b991b0b956b
openstack-mirroring pushed a commit to openstack/taskflow that referenced this pull request Jun 8, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I68d8c3e3d5157a9ec385813eef37e9c7e17f9ae2
openstack-mirroring pushed a commit to openstack/oslo.versionedobjects that referenced this pull request Jun 8, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Id4d35c0a4bece51e4b51198123c875d302629e99
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jun 8, 2020
* Update oslo.versionedobjects from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Id4d35c0a4bece51e4b51198123c875d302629e99
openstack-mirroring pushed a commit to openstack/watcher that referenced this pull request Jun 9, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Id476227552c3fa91eecadbc6c4370c354f56a40d
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jun 9, 2020
* Update watcher from branch 'master'
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Id476227552c3fa91eecadbc6c4370c354f56a40d
openstack-mirroring pushed a commit to openstack/octavia that referenced this pull request Jun 22, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I2816360b59f82c996038929ed6e90b744feb3f75
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jun 22, 2020
* Update octavia from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I2816360b59f82c996038929ed6e90b744feb3f75
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jun 24, 2020
* Update nova from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Ic8246b83563444501fe6d31712ea64d39e88140d
openstack-mirroring pushed a commit to openstack/nova that referenced this pull request Jun 24, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ic8246b83563444501fe6d31712ea64d39e88140d
openstack-mirroring pushed a commit to openstack/glance_store that referenced this pull request Jul 10, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I097b2d0349083cad1908db8dc25a33d9ad492adb
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 10, 2020
* Update glance_store from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I097b2d0349083cad1908db8dc25a33d9ad492adb
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 10, 2020
* Update glance from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Ia2435620da6a91a8bd1c08b8ae2e3b231f3c1371
openstack-mirroring pushed a commit to openstack/glance that referenced this pull request Jul 10, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ia2435620da6a91a8bd1c08b8ae2e3b231f3c1371
openstack-mirroring pushed a commit to openstack/tempest that referenced this pull request Jul 14, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Id2c662c0d6146423855714a0f240eed682e3c004
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 14, 2020
* Update tempest from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Id2c662c0d6146423855714a0f240eed682e3c004
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 16, 2020
* Update keystone from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Ia5f000e13f7973383fc0379266fe8d47e451eb31
openstack-mirroring pushed a commit to openstack/keystone that referenced this pull request Jul 16, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Ia5f000e13f7973383fc0379266fe8d47e451eb31
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 28, 2020
* Update barbican from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I7efbf08e81177af3853f53cf26018094fe59f955
openstack-mirroring pushed a commit to openstack/barbican that referenced this pull request Jul 28, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I7efbf08e81177af3853f53cf26018094fe59f955
openstack-mirroring pushed a commit to openstack/zaqar that referenced this pull request Aug 27, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Id7e0f5b9c2c54ec0d5f1f7b0cd8199bc60718971
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Aug 27, 2020
* Update zaqar from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Id7e0f5b9c2c54ec0d5f1f7b0cd8199bc60718971
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Sep 11, 2020
* Update placement from branch 'master'
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: I3f9d70249fe364dc9be269bda1cc577f9baf74d2
openstack-mirroring pushed a commit to openstack/placement that referenced this pull request Sep 11, 2020
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I3f9d70249fe364dc9be269bda1cc577f9baf74d2
openstack-mirroring pushed a commit to openstack-archive/sahara-tests that referenced this pull request Oct 1, 2020
- Introduce support of python 3.8 [1].
- python 3.8 support only jsonschema 3.2.0 [2] (also supported by py37 & py36)
- remove py27 obsolete code

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] python-jsonschema/jsonschema#627

Change-Id: Iab5d3e2e4f58bc175119029d98b381a33b09b523
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Oct 1, 2020
* Update sahara-tests from branch 'master'
  - Merge "Add support for python 3.8"
  - Add support for python 3.8
    
    - Introduce support of python 3.8 [1].
    - python 3.8 support only jsonschema 3.2.0 [2] (also supported by py37 & py36)
    - remove py27 obsolete code
    
    [1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    [2] python-jsonschema/jsonschema#627
    
    Change-Id: Iab5d3e2e4f58bc175119029d98b381a33b09b523
openstack-mirroring pushed a commit to openstack/python-troveclient that referenced this pull request Dec 3, 2020
Introduce support of python 3.8 [1] and move tox and jobs to py38.

jsonschema 3.2.0 [2] support python 3.8
pyOpenSSL 19.1.0 [3] support python 3.8

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
[2] python-jsonschema/jsonschema#627
[3] https://pypi.org/project/pyOpenSSL/19.1.0/

Change-Id: I8f561325780a95173501f42e10b6fce617bb17f4
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Dec 3, 2020
* Update python-troveclient from branch 'master'
  to 61d36db2d5dbe2cb5f8a014ca755f4af62fd5041
  - Add support for python 3.8
    
    Introduce support of python 3.8 [1] and move tox and jobs to py38.
    
    jsonschema 3.2.0 [2] support python 3.8
    pyOpenSSL 19.1.0 [3] support python 3.8
    
    [1] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    [2] python-jsonschema/jsonschema#627
    [3] https://pypi.org/project/pyOpenSSL/19.1.0/
    
    Change-Id: I8f561325780a95173501f42e10b6fce617bb17f4
openstack-mirroring pushed a commit to openstack/python-designateclient that referenced this pull request Nov 24, 2021
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

This patch also advances tempest to 25.0.0 and oslo.concurrency to 3.26.0
for proper python3 support.

[1] python-jsonschema/jsonschema#627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Iaf5ff97322ff6f18a3693dead20ec8f6fe7561ad
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Nov 24, 2021
* Update python-designateclient from branch 'master'
  to 2ff8e98d0f164277a8f85505dc9f53608780e18f
  - Merge "Cap jsonschema 3.2.0 as the minimal version"
  - Cap jsonschema 3.2.0 as the minimal version
    
    Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
    Python 3.8 is part of the victoria supported runtimes [2] so we now force
    to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
    that everything works with python 3 in general.
    
    This patch also advances tempest to 25.0.0 and oslo.concurrency to 3.26.0
    for proper python3 support.
    
    [1] python-jsonschema/jsonschema#627
    [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria
    
    Change-Id: Iaf5ff97322ff6f18a3693dead20ec8f6fe7561ad
Julian added a commit that referenced this pull request Apr 25, 2023
6afa9b38d Merge pull request #664 from santhosh-tekuri/empty-tokens
e4bceb1ad Bump the python-jsonschema version used for the sanity check.
8025fc0d5 Merge pull request #128 from iainbeeston/foundations-of-json-schema-paper
cf7677078 Make all root $ids absolute URIs
07fd389a3 Added test cases from Foundations of JSON Schema research paper
1008edcee ref: test empty tokens in json-pointer
9beb3cfba Merge pull request #627 from json-schema-org/ether/output-readme-fixes
f2b0490ba minor edit to trigger gh action
c305ce54f Merge pull request #669 from hauner/typo
5e2845c1e Merge pull request #668 from hauner/if-without-then-else-creates-annotations
2f1df2293 typo
c1fae0022 test unevaluated* can see annotations from if without then/else
987a4c8fc Merge pull request #666 from json-schema-org/gregsdennis/file-refs
90b2a58ce fix *nix uris
68d18c6ac rename tests to fix sanity check
e9166bcbe fix indentation
1d1ec749a add file-id ref tests
fb60ed17c Merge pull request #663 from json-schema-org/ether/restore-format-tests
f32cd8b80 Revert "Revert "by default, "format" only annotates, not validates""
47958f82d Merge pull request #654 from santhosh-tekuri/output-escape
5262997e1 Merge pull request #661 from santhosh-tekuri/2019-output
ce2c16573 output-tests: correct 2019 output-schema.json
c9d943856 output: ensure ~ and / are escaped in json-pointer
f6b2324bf minor spelling and markdown formatting fixes; `valid` has also been removed from the tests

git-subtree-dir: json
git-subtree-split: 6afa9b38d84d45550ec703123eb4e8ec67a8ae75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants