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

[pull] master from CogStack:master #93

Open
wants to merge 1,109 commits into
base: master
Choose a base branch
from
Open

[pull] master from CogStack:master #93

wants to merge 1,109 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 9, 2021

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

antsh3k and others added 27 commits January 30, 2023 14:11
snomed refset processing update
Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@3.2.16...3.2.17)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ango-3.2.17

Bump django from 3.2.16 to 3.2.17 in /webapp/webapp
* CU-33g0f3w Pin aiohttp dependency version for docs

* CU-33g0f3w Pin aiohttp dependency version for docs (#303)

* CU-33g0f3w Pin aiohttp dependency version for docs in setup.py

* Read the docs build failures (#304)

* CU-33g0f3w Pin aiohttp dependency version for docs

* CU-33g0f3w Pin aiohttp dependency version for docs in setup.py

* CU-33g0f3w Pin blis dependency version for docs in setup.py
* CU-8677aud63 add options for loading meta models and addl NERs
* CU-8677aud63 reduce memory usage during test
…s into categories (#301)

* CU-862j5by9q Add metadata to regression suite, loaded from model card if/when specified. A model can be specified upon creation to get the model card from.

* CU-862j5by9q Remove f-string from string with no placeholders

* CU-862j5by9q Make regression case hashable

* CU-862j5by9q Add category separation to regression test suite along with automated tests and test example

* CU-862j5by9q Add missing docstringgs to category separation

* CU-862j5by9q Add saving to category separator and a convenience method for separation based on regression test YAML file and categories YAML file

* CU-862j5by9q Add missing docstrings to new methods

* CU-862j5by9q Fix typo in class name

* CU-862j5by9q Fix saving issue for separation results

* CU-862j5by9q Add runnable category separator

* CU-862j5by9q Separate some file location constants in separation tests

* CU-862j5by9q Add test for separation that checks that no information gets lost (in the specific situation)

* CU-862j5by9q Add an anything-goes category description

* CU-862j5by9q Fix anything-goes option

* CU-862j5by9q Add tests for anything-goes category description

* CU-862j5by9q Add possibility of using an overflow category when separating regression suite

* CU-862j5by9q Add use of the overflow category to the runnable

* CU-862j5by9q Fix linting and typing issues

* CU-862j5by9q Add test for each individual separated suite

* CU-862j5by9q Fix minor abstract class issues

* CU-862j5by9q Rename categoryseparation module as category_separation

* CU-862j5by9q Add docstrings to category_separator
Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@3.2.17...3.2.18)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ango-3.2.18

Bump django from 3.2.17 to 3.2.18 in /webapp/webapp
Add confusion matrix to meta model evaluation
* CU-862j7b9jc Add abstract base class to regression converting strategy where necessary

* CU-862j7b9jc Bump mypy to version 1.0.0
* CU-862j7b9jc Fix issue with duplicate imports

* CU-862j7b9jc Fix issue with no whitespace after keyword (E275)

* CU-862j7b9jc Remove unnecessary brackets from if statement
Make transformer_ner continue processing other entities after the first non-matching
* Expose example model card version in metadata test

* Add version detection along with tests

* Move to a more comprehensive version string parser (regex)

* Add more comprehensive versioning tests

* Move MedCAT unzip to a separate method

* Separate getting semantic version from string

* Add new CDB with version information and use that with versioning tests

* Add methods to get version info from CDB dump and model pack zip/folder

* Exposing CDB file name and adding custom dev patch version support

* Fix config.linking.filters.cuis - from empty dict to empty set

* Add logging to versioning

* Fix f-strings instead of (intended) r-strings

* Add creating model pack archive to versioning CDB fix

* Fix logger initialising

* Making versioning a runnable module that allows fixing the config

* Add docstrings to CLI methods

* CU-8677ge6j8 Make explicit check regards to empty dict when fixing config

* CU-8677ge6j8 Add tests regarding versioning changes

* CU-8677ge6j8 Add missing return type hint

* CU-8677ge6j8 Simplify action handling for CLI input

* CU-8677ge6j8 Simplifying archive making method
* NO-TICKET pin down transformers for the de-id model
* Added function to remove CUI from cdb

* Unit test for remove_cui
* Added function to remove CUI from cdb

---------

Co-authored-by: antsh3k <antshek@hotmail.com>
Bumps [django](https://github.com/django/django) from 3.2.18 to 3.2.19.
- [Commits](django/django@3.2.18...3.2.19)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ango-3.2.19

Bump django from 3.2.18 to 3.2.19 in /webapp/webapp
CU-862jr8wkk Pin pydantic dependency to avoid conflicts with v2.0 (#318)
mart-r and others added 30 commits August 12, 2024 16:34
Use the loaded model hash for usage monitor instead of recalculating it
…tus (#479)

Co-authored-by: adam-sutton-1992 <adam.sutton@kcl.ac.uk>
* CU-86956du3q: Move to placeholder-based replacement

* CU-86956du3q: Update regression tests to a more reasonable state.

Make sure to compare the correct annotation, not just hoping for any CUI annotated to match the one we are looking for.
Output the specifics of the type of match that was found:
 - Identical
 - Bigger / smaller span
 - Random overlap
 - Parents / grandparetns, or children
Add strictness options to summary (success / failure).

* CU-86956du3q: Further fixes for regression checking:

Remove 'Failure reason' and 'Failre descriptor' - now using Finding instead.
Remove simplified success/failure metrics wherever relevant.
Fix tests that relied on old logic and fix test-time replacement/cui location.

* CU-86956du3q: Add documentation for new clases and methods

* CU-86956du3q: Rename enum constant (SPAN_OVERLAP -> PARTIAL_OVERLAP)

* CU-86956du3q: Add matching for partially overlapping children

* CU-86956du3q: Add tests for partially overlapping children

* CU-86956du3q: Update regression checking to generate multiple sub-cases for multiple placeholders

* CU-86956du3q: Update some tests for new format

* CU-86956du3q: Remove old / unused / irrelevant tests and test-code

* CU-86956du3q: Some renaming (filter -> placeholders)

* CU-86956du3q: Add some additional fail safes for option set

* CU-86956du3q: Fix option set for only 1 placeholder

* CU-86956du3q: Fix targeting

* CU-86956du3q: Add tests for targeting

* CU-86956du3q: Remove MCT export conversion (at least for now)

* CU-86956du3q: Remove MCT export conversion tests (at least for now)

* CU-86956du3q: Remove suite editing (at least for now)

* CU-86956du3q: Remove category separation (at least for now)

* CU-86956du3q: Remove unused regression utils (at least for now)

* CU-86956du3q: Remove serialisation tests (at least for now)

* CU-86956du3q: Improve quality of default regression test set

* CU-86956du3q: Improve exceptions in targeting

* CU-86956du3q: Fix docstring issue regarding exceptions

* CU-86956du3q: Update test with correct exceptions

* CU-86956du3q: Add utils for partial substitutions and corresponding tests

* CU-86956du3q: Allow multiple of the same placeholder in a phrase.

And more specifically, treat each one as their own sub-case

* CU-86956du3q: Add relevant tests for multi-placeholder checking

* CU-86956du3q: Allow changing of multiple pre-processing placeholders

* CU-86956du3q: Fix 1-placeholder sub-case yielding

* CU-86956du3q: Remove debug output

* CU-86956du3q: Replace separator (~) with whitespace when checking

* CU-86956du3q: Add utility method to limit string length for output

* CU-86956du3q: Improve string length limiting method

* CU-86956du3q: Add a few tests for string length limiting method

* CU-86956du3q: Add an ANYTHING strictness (mostly for example disbaling)

* CU-86956du3q: Add storage of examples (of a certain strictness) as well as relevant output

* CU-86956du3q: Fix type (missing ending bracket) in report output

* CU-86956du3q: Fix examples header appearing for every example

* CU-86956du3q: Print the same phrase fewer times for examples

* CU-86956du3q: Update fake CDB with (default) config

* CU-86956du3q: Add finding to examples and output

* CU-86956du3q: Add config to another fake CDB during test time

* CU-86956du3q: Allow strictness to propagate to parts when looking at examples

* CU-86956du3q: Add placeholder to examples output

* CU-86956du3q: Refactor report output generation slightly

* CU-86956du3q: Show all non-identical examples

* CU-86956du3q: Update example checking with strictness requirement (instead of simple boolean)

* CU-86956du3q: Simplify targeting somewhat (remove unnecessary method)

* CU-86956du3q: Allow changing of ouptut phrase max length

* CU-86956du3q: Fix doc string for changed method

* CU-86956du3q: Small whitespace fix

* CU-86956du3q: Fix total-included checking iteration

* CU-86956du3q: Add strictness and max phrase length to CLI

* CU-86956du3q: Add examople strictness to CLI

* CU-86956du3q: Fix default value for strictness in CLI

* CU-86956du3q: Update to use number of sub-cases for tqdm/progress bar

* CU-86956du3q: Remove option to set the total for progress bar (the automated one works fine now)

* CU-86956du3q: Simplify the progress bar by combining all cases

* CU-86956du3q: Split subcase iteration

* CU-86956du3q: Rename regression checker to regression suite

* CU-86956du3q: Streamline typing and the like by using intermediate data classes

* CU-86956du3q: Remove redundant method

* CU-86956du3q: Remove redundant method and acommpanying test

* CU-86956du3q: Remove redundant class

* CU-86956du3q: Add another intermediate data class

* CU-86956du3q: Remove completed TODO notes and redundant method

* CU-86956du3q: Add documentation to new methods and clases. Simplify example keeping.

* CU-86956du3q: Small update for how default test suite is handled for CLI

* CU-86956du3q: Small to report output format

* CU-86956du3q: Add easier to read exception when unable to load a placeholder

* CU-86956du3q: Update percentages output to avoid as many decimal places

* CU-86956du3q: Use preferred name for run-to-run consistency

* CU-86956du3q: Update test time fake CDBs

* CU-86956du3q: Update default regression tests with new extensive (yet simple) test case

* CU-86956du3q: Add initial README for regression stuff

* CU-86956du3q: Add option to for failing with having found another concept.

Added other incorrect cui that was found (if applicable).
Fixed issue with finding grandparents.

* CU-86956du3q: Add tests for parent and grandparent finding; fix tests for new changes (with optionally found alternative CUI)

* CU-86956du3q: Add preferred name to wrong CUI found

* CU-86956du3q: Fix tests for new form of determine cui description; add test for exact span grandchild

* CU-86956du3q: Fix determining partial matches for grandchildren and beyond

* CU-86956du3q: Add test for partial matches of grandchildren

* Fixing bug for metacat

Fix issues with compute_class_weights JSON serialization and enforce fc2 usage when fc3 is enabled

* Resolved an issue where compute_class_weights returns a NumPy array, causing an error when saving the configuration as JSON (since JSON does not support NumPy arrays). The fix ensures compatibility by converting the NumPy array to a JSON-serializable format.

* Added a safeguard in the model_architecture_config for meta_cat_config. The current architecture assumes fc3 is only used when fc2 is enabled. If fc2 is set to False and fc3 is True, the model would fail due to a mismatch in hidden layer sizes. The fix automatically enables fc2 if fc3 is set to True, preventing potential errors.

* CU-86956duhb: Add method to backport a model pack from 1.12 to previous version (#465)

* CU-86956duhb: Add method to backport a model pack from 1.12 to previous version

* CU-86956duhb: Fix some doc string issues

* CU-86956duhb: Add deprecation decorator to old config-fix

* CU-86956duhb: Mark backporting method as deprecated and to be removed in 1.14

* CU-8694cd9t2: Allow merging config into model pack config before init (#462)

* CU-8694cd9t2: Allow merging config into model pack config before init

* CU-8694fwyje: Update all configs with pre-load parts documented (#473)

* CU-86956du3q: Add converter from MCT export

* CU-86956du3q: Add documentation to MCT export converter

* CU-86956du3q: Add option to create a regression suite from an MCT export

* CU-86956du3q: Add option to create a regression suite from an MCT export to CLI

* CU-86956du3q: Add a small note for converter placeholder

* CU-86956du3q: Add tests for MedCATtrainer export converter

* CU-86956du3q: Add tests for regression suite generation based on MCT export

* CU-86956du3q: Simplify regression case creation tests somewhat

* CU-86956du3q: Add option to create a regression suite YAML from MCT export

* CU-86956du3q: Add option to stop at MCT export conversion

* CU-86956du3q: Make use of only-prefnames option

* CU-86956du3q: Fix loading of only-prefnames option from yaml

* CU-86956du3q: Add comment for only using preferred names to the default regression suite yaml

* CU-86956du3q: Fix tests broken due to pref-name only change

* CU-86956du3q: Add utility method to set runtime doc strings for enum constants

* CU-86956du3q: Add tests for runtime doc string addition

* CU-86956du3q: Add more tests for runtime doc string addition (to make sure it fails without the change)

* CU-86956du3q: Make Finding enum has runtime doc strings

* CU-86956du3q: Add CLI option to show the various descriptions of the finding types (--only-describe)

* CU-86956du3q: Update dict and json methods for some results for JSON serialisation

* CU-86956du3q: Add a few json serialisation tests

* CU-86956du3q: Add json serialisation example strictness to CLI

* CU-86956du3q: Add a few more json serialisation tests

* CU-86956du3q: Add usage of regression suite name from the name of the file being read

* CU-86956du3q: Fix tests by adding the regression suite name where applicable

* CU-86956du3q: Avoid examples in ResultDescriptor

* CU-86956du3q: Make sure strictness propagates accross all parts of a multi-result descriptor

* CU-86956du3q: Update tests: Use correct reporting for generating fake reports

* CU-86956du3q: Fix small test issue

* CU-86956du3q: Update tests for manual success/fail for results

* CU-86956du3q: Separate calculation section of report finding

* CU-86956du3q: Add a few more tests for report/results

* CU-86956du3q: Add option to force a non-0 exit status upon any regression test failure

* CU-86956du3q: Add files for regression model creation and checking

* CU-86956du3q: Add new part to main workflow to create and regression check a simple model pack

* CU-86956du3q: Update a mistyped comment

* CU-86956du3q: Make regression run at STRICTEST strictness at GHA workflow time

* CU-86956du3q: Fix strictness matrix for anything-typed strictness

* CU-86956du3q: Add strictness matrix information to --describe-only

* CU-86956du3q: Add python version to created model pack for test time

* CU-86956du3q: Use the python version of creat model pack during test time to avoid conflicts with other python versions running in parallel

* CU-86956du3q: [TEMP] Remove tests from main workflow (for faster iteration) and add args to output upon regression checking

* Revert "CU-86956du3q: [TEMP] Remove tests from main workflow (for faster iteration) and add args to output upon regression checking"

This reverts commit 4bf3089.

* CU-86956du3q: Make full model path the last line of the output upon creation model for regression

* CU-86956du3q: Move regression workflow logic to a separate bash script

* CU-86956du3q: Update comments in regression bash script

* CU-8694pz44d: Fix model cleanup during regression

* CU-86956du3q: Fix typos in utils

* CU-86956du3q: Fix a bunch of various typos in doc strings and comments

---------

Co-authored-by: shubham-s-agarwal <66172189+shubham-s-agarwal@users.noreply.github.com>
* CU-8695j1be2: Remove deprecated method on CDB

* CU-8695j1be2: Remove unused import due to removal of deprecated method
* Pushing bug fix for metacat

2-phase learning for MetaCAT utilises data_undersampled. Fixed a bug in the eval function, which was incorrectly using the data_undersampled instead of the full_data

* Pushing change for lazy logging

* Pushing update for lazy logging

* Pushing lint fix
* CU-8695uhe5n: Update docs dependency pins

* CU-8695uhe5n: Fix typo in fsspec version pin
* CU-8695pvhfe: Rename a test class

* CU-8695pvhfe: Add tests for multiprocessig usage monitoring

* CU-8695pvhfe: Fix usage monitor for multiprocessig.

When using CAT.multiprocessing_batch_char_size (CAT._multiprocessing_batch and CAT._mp_cons internally), flush the usage monitor at the end of multiprocessing method.
When using CAT.get_entities_multi_texts or CAT.multiprocessing_batch_docs_size (uses the former internally), add logging of usage to output

* CU-8695pvhfe: Fix remaining issues with usage monitor for multiprocessig.

Avoid checking length of (potentially) non-existent strings. Avoid early iteration of generator.
* CU-8695knfbg: Decouple the edit finder methods from the spell checker

* CU-8695knfbg: Add methods for random edit picking and variant estimation to utils; Plus a few tests

* CU-8695knfbg: Add edit distance option and use to CLI

* CU-8695knfbg: Allow retaining order of elements in generator when getting edits for run-to-run consistency

* CU-8695knfbg: Add safeguard for name order to be consistent across runs

* CU-8695knfbg: Sort names when getting from CDB to avoid run to run variance

* CU-8695knfbg: Move edit finding methods back to BasicSpellChecker class, but make the 1-distance method a class method

* CU-8695knfbg: Move validation earlier in edit finder

* CU-8695knfbg: Simplify edit finder somewhat
* CU-869574kvp: Add pattern based release version identifying for Snomed preprocessing

* CU-869574kvp: Add tests for pattern-based snomed release identification

* CU-869574kvp: Update Snomed preprocessing:

Separate extensions into an Enum.
Do the release/paths check at init to allow for early failures in case of issues

* CU-869574kvp: Simplify mappings somewhat.

Move common avoids to a common location.
Fix UK Drug relationship name

* CU-869574kvp: Simplify mappings somewhat more.

Remove some clutter by separating common prefixes for release types and file names.

* CU-869574kvp: Simplify mappings somewhat more, agai.

Remove some clutter by separating common suffixes for release types.

* CU-869574kvp: Update preprocessing.

New abstraction. Use supprted extensions which describe their file formats along with bundles which give some further insight and control.

* CU-869574kvp: Fix data class init

* CU-869574kvp: Fix issue with file paths

* CU-869574kvp: Fix a UK Clinical description file path

* CU-869574kvp: Add (optional) 2nd part of folder name to extension.

For AU models, the folder name seems to be 'SnomedCT_Release_AU1000036_20240630T120000Z', so the 1st part is just 'Release' and the 2nd part is indicative of AU.
Add usage of this where relevant.

* CU-869574kvp: Fix preprocessing tests.

Add patch for files/folders where applicable.
Change the paths of attributes where applicable.
* CU-8695ucw9b: Fix older DeID models due to changes in transformers.

Since transformers 4.42.0, the tokenizer is expected to have the 'split_special_tokens' attribute. But the version we've saved does not. So when it's loaded, this causes an exception to be raised (which is currently caught and logged by medcat).

* CU-8695ucw9b: Add functionality for transformers NER to spectacularly fail upon consistent consecutive exceptions.

The idea is that this way, if something in the underlying models is consistently failing, the exception is raised rather than simply logged

* CU-8695ucw9b: Add tests for exception raising after a pre-defined number of failed document processes

* CU-8695ucw9b: Change conditions for raising exception on consecutive failure.

Now only raise the exception if the consecutive failure is identical (or similar). We determine that from the type and string-representation of the exception being raised.

* CU-8695ucw9b: Small additional cleanup on successful TNER processing

* CU-8695ucw9b: Use custom exception when failing due to consecutive exceptions

* CU-8695ucw9b: Remove try-except when processing transformers NER to force immediate raising of exception
* MetaCAT fixes and upgrades

Pushing for 3 updates:
1) Removed the check and update for labels with zero data, as this was causing issues during evaluation
2) Resolved an issue where the confusion matrix couldn't be calculated when testing on a single class with an F1 score of 1, as it expected the original number of training classes (3)
3) Updated the attention mask creation to dynamically use the actual pad_idx value instead of assuming it to be 0

* Pushing type fix

* Pushing for type fix

* Fixing type issues

* Pushing change

* Pushing update w/o try except block

For the issue where the confusion matrix couldn't be calculated when testing on a single class with an F1 score of 1, as it expected the original number of training classes (3), pushing an optimized version w/o the try except block
…497)

* CU-869671bn4: Update requirements (GHA should fail due to mypy)

* CU-869671bn4: Update mypy dev requirement to be less than 1.12
* CU-86967nnra: Remove python 3.8 from GHA

* CU-86967nnra: Remove python 3.8 from classifiers

* CU-86967nnra: Add python version requirements to setup.py (allowing from 3.9 to 3.11)

* CU-86967nnra: Remove upper bound from python requirements.

Upper bound could be lifted as soon as `spacy` releases a compatible versions. And it _shouldn't_ require any changes from our side. And it isn't possible to install it on higher versions (currently) due to no `spacy` being available for those versions
* CU-86964zm4d: Use ignore tag correctly to ignore certain parts of UK release

* CU-86964zm4d: Use OPCS4 later refset ID by default (and switch to older if needed)

* CU-86964zm4d: Fix OPCS4 refset ID tests.

Fix the default value being tested for (i.e in case of international release that'll be shown).
Add a test for old UK extension.

* CU-86964zm4d: Add note regarding OPCS refset ID relevance only for UK extensions.

* CU-86964zm4d: Fix checking of extension outside loops.

I.e determinie if a UK release/bundle is used for OPCS4/ICD10 mappings splitting.
Always returning separate refsets for ICD10 and OSC internally, even if the latter is None.
* CU-8695hghww: Add bash script to run backwards compatibility

* CU-8695hghww: Rename backwards compatibility running bash script

* CU-8695hghww: Add new step to workflow to run model backwards compatibility

* CU-8695hghww: Fix model compatibility regression suite path

* CU-8695hghww: Simplify creation and removal of fake model folder
…ecated (#500)

* CU-8696m1mch: Remove versioning utility since all its parts were deprecated

* CU-8696m1mch: Remove tests for versioning utility

* CU-8696m1mch: Remove unused test-specific binary (CDB)
* CU-8696nbm03: Remove use of unigram table

* CU-8696nbm03: Fix usage of new unigram table alternative

* CU-8696nbm03: Remove unigram table from loaded vocabs

* CU-8696nbm03: Add tests for unigram table usage/negative sampling frequency

* CU-8696nbm03: Add small comment to tests

* CU-8696nbm03: Calculate frequencies upon load if not present

* CU-8696nbm03: Update comment regarding probability calculatioons

* CU-8696nbm03: Remove commented test case

* CU-8696n7w95: Fix docstring issue

* CU-8696nbm03: Fix serialisation tests

* CU-8696nbm03: Add python 3.9-friendly method for getting the total of a counter
* CU-8695d4www: Bump pydantic requirement to 2.6+

* CU-8695d4www: Update methods to use pydantic2 based ones

* CU-8695d4www: Update methods to use pydantic2 based ones [part 2]

* CU-8695d4www: Use identifier based config when setting last train date on meta cat and tner

* CU-8695d4www: Use pydantic2-based model validation

* CU-8695d4www: Add workarounds for pydantic1 methods

* CU-8695d4www: Add missing utils module for pydantic1 methods

* Revert "CU-8695d4www: Bump pydantic requirement to 2.6+"

This reverts commit b0b3d43.

* CU-8695d4www: [TEMP] Add type-ingores to pydantic2-based methods for GHA workflow

* CU-8695d4www: Make pydantic2-requires getattribute wrapper only apply when appropriate

* CU-8695d4www: Fix missin model dump getter abstraction

* CU-8695d4www: Fix missin model dump getter abstraction (in CAT)

* CU-8695d4www: Update tests for pydantic 1 and 2 support

* Revert "CU-8695d4www: [TEMP] Add type-ingores to pydantic2-based methods for GHA workflow"

This reverts commit b86135a.

* Reapply "CU-8695d4www: Bump pydantic requirement to 2.6+"

This reverts commit 080ae71.

* CU-8695d4www: Allow both pydantic 1 and 2

* CU-8695d4www: Deprecated pydantic utils for removal in 1.15

* CU-8695d4www: Allow usage of specified deprecated method(s) during tests

* CU-8695d4www: Allow usage of pydantic 1-2 workaround methods during tests

* CU-8695d4www: Add documentation for argument allowing usage during tests in deprecation method

* CU-8695d4www: Fix allowing deprecation during test time

* CU-8695d4www: Fix model dump getting in regression checker

* Revert "CU-8695d4www: Fix allowing deprecation during test time"

This reverts commit fadc7d1.

* Revert "CU-8695d4www: Add documentation for argument allowing usage during tests in deprecation method"

This reverts commit 927f807.

* Revert "CU-8695d4www: Allow usage of pydantic 1-2 workaround methods during tests"

This reverts commit 825628e.

* Revert "CU-8695d4www: Allow usage of specified deprecated method(s) during tests"

This reverts commit a89e680.

* Revert "CU-8695d4www: Deprecated pydantic utils for removal in 1.15"

This reverts commit 0ee1a8a.

* CU-8695d4www: Add comment regarding pydantic backwards compatiblity where applicable

* CU-8695d4www: Add pydantic 1 check to GHA workflow

* CU-8695d4www: Fix usage of pydantic-1 based dict method in regression results

* CU-8695d4www: Fix usage of pydantic-1 based dict method in regression tests

* CU-8695d4www: New workflow step to install and run mypy on pydantic 1

* CU-8695d4www: Add type ignore comments to pydantic2 versions in versioning utils for typing during GHA workflow

* CU-8695d4www: Update pydantic requirement to 2.0+ only

* CU-8695d4www: Update to pydantic 2 ONLY

* CU-869671bn4: Update mypy dev requirement to be less than 1.12

* CU-869671bn4: Fix model fields in config

* CU-869671bn4: Fix stats helper method - use correct type adapter

* CU-869671bn4: Fix some model type issues

* CU-869671bn4: Line up with previous model dump methods

* CU-869671bn4: Fix overwriting model dump methods

* CU-869671bn4: Remove pydantic1 workflow step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.