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

Revert moving Pydantic model definitions into models.py file #81

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

rbrazinskas
Copy link
Contributor

Having Pydantic model definitions in their own file and importing them causes issues with Sphinx multiversion documentation builds. For example, qiskit-on-iqm has iqm-client as a dependency. When building old versions (e.g. 1.0) of documentation of qiskit-on-iqm, Sphinx uses matching version of qiskit-on-iqm, but also the latest version iqm-client, so qiskit-on-iqm fails to find the model definitions for import

Having Pydantic model definitions in their own file and importing them causes issues with Sphinx multiversion documentation builds. For example, qiskit-on-iqm has iqm-client as a dependency. When building old versions (e.g. 1.0) of documentation of qiskit-on-iqm, Sphinx uses matching version of qiskit-on-iqm, but also the latest version iqm-client, so qiskit-on-iqm fails to find the model definitions for import
@rbrazinskas rbrazinskas marked this pull request as ready for review April 21, 2023 09:59
@rbrazinskas rbrazinskas merged commit 0b04aa5 into main Apr 21, 2023
10 checks passed
@rbrazinskas rbrazinskas deleted the rollback-model-module-refactoring branch April 21, 2023 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants