Browse Source

Merge "Accelerate YAML operations with LibYAML"

changes/26/780126/1
Zuul 1 year ago
committed by Gerrit Code Review
parent
commit
c7583638e1
  1. 2
      python/drydock_provisioner/__init__.py
  2. 3
      python/requirements-direct.txt
  3. 3
      python/requirements-lock.txt
  4. 1
      python/tests/unit/test_cli_task.py
  5. 1
      python/tests/unit/test_schema_validation.py

2
python/drydock_provisioner/__init__.py

@ -11,3 +11,5 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import pylibyaml # noqa: F401 # patch pyyaml to use libyaml bindings

3
python/requirements-direct.txt

@ -1,4 +1,5 @@
PyYAML==5.1
pylibyaml~=0.1
PyYAML~=5.3.1
pyghmi==1.0.18
netaddr
falcon

3
python/requirements-lock.txt

@ -53,6 +53,7 @@ PTable==0.9.2
pycadf==2.8.0
pycrypto==2.6.1
pyghmi==1.0.18
pylibyaml==0.1.0
pymongo==3.6.1
pyparsing==2.2.1
python-dateutil==2.8.1
@ -60,7 +61,7 @@ python-editor==1.0.3
python-keystoneclient==3.22.0
python-mimeparse==1.6.0
pytz==2018.5
PyYAML==5.1
PyYAML==5.3.1
redfish==2.0.1
repoze.lru==0.7
requests==2.22.0

1
python/tests/unit/test_cli_task.py

@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import pylibyaml # noqa: F401 # patch pyyaml to use libyaml bindings
import yaml
import pytest

1
python/tests/unit/test_schema_validation.py

@ -1,3 +1,4 @@
import pylibyaml # noqa: F401 # patch pyyaml to use libyaml bindings
import yaml
import jsonschema
import pkg_resources

Loading…
Cancel
Save