-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove PSDEF in favor of PSL #150
base: dev
Are you sure you want to change the base?
Conversation
The docs should build for now, but they're not very pretty yet. They now use each other's custom definitions instead of QEDcore or QEDprocesses. For this I had to add a I also had to disable some of the jldoctests where I'm not sure if they're doable nicely here. I just changed them to Other than that I think this is the way to go, because otherwise our cyclic dependencies problem will still persist. @szabo137 thoughts? |
I think for now, it is fine to leave it like that. Eventually, we will have |
Okay sounds good, then I'll just go over it a little bit tomorrow and it should be ready. Then we'll have to fix the integration tests by adjusting QEDcore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general it looks very good, many thanks for that!
I've just some comments and one request: please look up the PSL interface and use it properly in the construction of the PSPs.
This is correct! I think after adjusting QEDcore, the other packages are pretty easy to fix. I think it is our first multi-level fix, showing the greatness of our integration test suite 👯♂️ ( @SimeonEhrig stay tuned if we break something, again 🫶) |
Co-authored-by: Uwe Hernandez Acosta <[email protected]>
You're completely right. I mostly just removed the psdef and replaced occurrences with the psl, intending to see what needs to be changed when it breaks. But it seems it didn't break in those instances so I forgot to actually use the new interface ^^ |
This was also my guess ^^ |
Be aware, my weekends starts 5 minutes before you break my CI ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my side, this looks good now. Therefore, we can proceed fixing the integration tests by opening the respective PRs in the other packages.
@AntonReinhard I removed the PSDEF from QEDcore: QEDjl-project/QEDcore.jl#94 Please retrigger the CI with this fix. Locally, the unittests in QEDjl-project/QEDcore.jl#94 pass with this version of QEDbase. |
The formatter fails on the tutorials, because I did not indent the includes, which would have to be indented, but the reason for the indent is not visible in the docs, so in the docs it looks weird. And if I turn off the format for those lines with a |
6913853
to
741901b
Compare
f74265d
to
136dc60
Compare
CI_INTG_PKG_URL_QEDcore: https://github.com/szabo137/QEDcore.jl#remove_psdef_update_psp
136dc60
to
4ab2f68
Compare
The docs building still fails, because unfortunately the documentation still has a cyclic dependency to QEDcore and QEDprocesses. I think the best way forward is to remove the dependency from the literate.jl tutorials by using self-defined custom types and removing or changing the jldoctests that rely on QEDcore or processes. Those should probably be moved to their respective packages.