Skip to content

Conversation

@tamuri
Copy link
Collaborator

@tamuri tamuri commented Nov 20, 2025

Resolves #1755. I have avoided updating the other dependencies, especially numpy and pandas as these have big effect on the epi modules. However, had to update virtualenv because sdv requires a more recent version of platformdirs.

Also, dev.txt is also constrained by base.txt when using pip-compile to ensure consistency.

@marghe-molaro - the resolved version of sdv (1.20.1) was the most recent that doesn't disturb the other packages. Can you check these requirement still work for your emulator, please? You can create a new conda environment to test.

@tamuri tamuri requested a review from marghe-molaro November 20, 2025 14:19
@tamuri tamuri added the dependencies Pull requests that update a dependency file label Nov 20, 2025
@marghe-molaro
Copy link
Collaborator

Hi @tamuri, unfortunately I get the following errors:

sdv.errors.VersionError: You are currently on SDV version 1.20.1 but this synthesizer was created on version 1.22.1. Downgrading your SDV version is not supported.

Attaching to this message the conda environment on which the emulator branch is currently working.

hack_tlo_and_SDV_environment.yml

@tamuri
Copy link
Collaborator Author

tamuri commented Nov 20, 2025

To confirm: the saved file was created using version 1.22.1 but the version you're running is 1.24.1? Meaning that newer version can read files created by an older version?

@tamuri
Copy link
Collaborator Author

tamuri commented Nov 20, 2025

Pinned sdv to 1.24.1. Please try again @marghe-molaro.

@tamuri tamuri self-assigned this Nov 21, 2025
@marghe-molaro
Copy link
Collaborator

Confirming that this new environment is now working fine, many thanks @tamuri

@tamuri
Copy link
Collaborator Author

tamuri commented Nov 24, 2025

Thanks for checking - please approve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SDV dependency to requirements

3 participants