Skip to content

[fmcore] Migrations: (i) modules to bears (ii) Pydantic 1.10.15 to >=2.10.5 (iii) external autoenum package.#16

Merged
adivekar-utexas merged 1 commit into
mainfrom
adivekar
Jan 25, 2025
Merged

[fmcore] Migrations: (i) modules to bears (ii) Pydantic 1.10.15 to >=2.10.5 (iii) external autoenum package.#16
adivekar-utexas merged 1 commit into
mainfrom
adivekar

Conversation

@adivekar-utexas

@adivekar-utexas adivekar-utexas commented Jan 25, 2025

Copy link
Copy Markdown
Contributor

Description of changes:

Migrations: (i) util and data modules to bears (ii) Pydantic 1.10.15 to >=2.10.5 (iii) external autoenum package.

  • Moved utils to bears PyPI package
  • Moved data processing to bears PyPI package
  • Moved (most) constants to bears PyPI package
  • Refactored to use external autoenum PyPI package
  • Pydantic v2 migration: Replaced validator with model_ validator
  • Pydantic v2 migration: Replaced root_validator with model_ validator
  • Pydantic v2 migration: Replaced Config class with model_config
  • Removed "from typing import *" usage.
  • Various minor fixes.
  • Moved code to "private" modules.
  • Removed requirements.txt as it is no longer used for dependency management.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@adivekar-utexas adivekar-utexas force-pushed the adivekar branch 2 times, most recently from 2a1387a to 301aa59 Compare January 25, 2025 15:03
@adivekar-utexas adivekar-utexas self-assigned this Jan 25, 2025
@adivekar-utexas

Copy link
Copy Markdown
Contributor Author

We should avoid creating multiple dependency migrations at once in the future. This time is it appropriate as the client-list is very limited but going forward it should not be the case.

@adivekar-utexas adivekar-utexas force-pushed the adivekar branch 3 times, most recently from 7688153 to 515994a Compare January 25, 2025 19:54
…2.10.5 (ii) external autoenum package.

- Moved utils to bears PyPI package
- Moved data processing to bears PyPI package
- Moved (most) constants to bears PyPI package
- Refactored to use external autoenum PyPI package
- Pydantic v2 migration: Replaced validator with model_ validator
- Pydantic v2 migration: Replaced root_validator with model_ validator
- Pydantic v2 migration: Replaced Config class with model_config
- Removed "from typing import *" usage.
- Various minor fixes.
- Moved code to "private" modules.
- Removed requirements.txt as it is no longer used for dependency management.
@adivekar-utexas adivekar-utexas marked this pull request as ready for review January 25, 2025 19:57
@adivekar-utexas adivekar-utexas changed the title [fmcore] Migrations: (i) modules to bears (ii) Pydantic 1.10.15 to >=2.10.5 (ii) external autoenum package. [fmcore] Migrations: (i) modules to bears (ii) Pydantic 1.10.15 to >=2.10.5 (iii) external autoenum package. Jan 25, 2025
@adivekar-utexas adivekar-utexas added the migration 🦆 Migration of code label Jan 25, 2025
@adivekar-utexas adivekar-utexas merged commit 7a7a285 into main Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

migration 🦆 Migration of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant