diracx-testing 0.0.1a16__tar.gz → 0.0.1a17__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: diracx-testing
3
- Version: 0.0.1a16
3
+ Version: 0.0.1a17
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research
@@ -378,7 +378,7 @@ def with_config_repo(tmp_path_factory):
378
378
 
379
379
  repo = Repo.init(tmp_path, initial_branch="master")
380
380
  cs_file = tmp_path / "default.yml"
381
- example_cs = Config.parse_obj(
381
+ example_cs = Config.model_validate(
382
382
  {
383
383
  "DIRAC": {},
384
384
  "Registry": {
@@ -418,7 +418,7 @@ def with_config_repo(tmp_path_factory):
418
418
  "Operations": {"Defaults": {}},
419
419
  }
420
420
  )
421
- cs_file.write_text(example_cs.json())
421
+ cs_file.write_text(example_cs.model_dump_json())
422
422
  repo.index.add([cs_file]) # add it to the index
423
423
  repo.index.commit("Added a new file")
424
424
  yield tmp_path
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: diracx-testing
3
- Version: 0.0.1a16
3
+ Version: 0.0.1a17
4
4
  Summary: TODO
5
5
  License: GPL-3.0-only
6
6
  Classifier: Intended Audience :: Science/Research