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

Installing is broken in current master #77

Closed
mikegerber opened this issue Mar 24, 2023 · 12 comments
Closed

Installing is broken in current master #77

mikegerber opened this issue Mar 24, 2023 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@mikegerber
Copy link
Member

Due to confusion with pyenv etc. I am not sure and need to check again.

May be related to #76.

@mikegerber mikegerber self-assigned this Mar 24, 2023
@mikegerber
Copy link
Member Author

Yeah it's broken, and I didn't notice because it is

  • NOT broken when installing with pip install -e . and testing in the dinglehopper source directory
  • broken when installing with pip install .

Great joy.

@mikegerber
Copy link
Member Author

👀 @bertsky

There was some confusion, I thought it was fixed, etc. etc.

@bertsky
Copy link
Contributor

bertsky commented Mar 24, 2023

There was some confusion, I thought it was fixed, etc. etc.

Yes, still broken AFAIK. (For example, @kba just re-instated that version on ocrd_all, and voila it broke the CI again.

@mikegerber
Copy link
Member Author

There was some confusion, I thought it was fixed, etc. etc.

Yes, still broken AFAIK. (For example, @kba just re-instated that version on ocrd_all, and voila it broke the CI again.

Yeah I know now (since Friday) and will fix it today

@mikegerber
Copy link
Member Author

mikegerber commented Mar 27, 2023

@kba I'm probably "over-communicating" but just to make sure: I thought the remaining issue is eynollah having the old style namespace but that's another, second problem.

@mikegerber mikegerber added the bug Something isn't working label Mar 27, 2023
@mikegerber mikegerber changed the title Check if ocrd-dinglehopper etc. is broken in current master Installing is broken in current master Mar 27, 2023
@kba
Copy link
Contributor

kba commented Mar 27, 2023

@kba I'm probably "over-communicating" but just to make sure: I thought the remaining issue is eynollah having the old style namespace but that's another, second problem.

Over-communicating is just fine :-) We should fix all the qurator namespace changes in one fell swoop, test them and create a new release of ocrd_all then. For now, the latest ocrd_all release contains dinglehopper in the commit just before the namespace change.

@mikegerber
Copy link
Member Author

Note to self: In this case, testing the install in a fresh virtualenv also was necessary.

@bertsky
Copy link
Contributor

bertsky commented Mar 27, 2023

We should fix all the qurator namespace changes in one fell swoop, test them and create a new release of ocrd_all then.

Is it really inevitable to change namespace pkg implementation? Is there no other way around the deprecation warning?

I am pretty sure this will fall on our feet again and again, because installations will not be equally "swooped" to the new versions likewise. (And we cannot even solve this via version requirements, because none of the qurator packages depend on each other.)

@mikegerber
Copy link
Member Author

I have a fix ready (calling find_namespace_packages is necessary) but I can't push currently due to GitHub's problems.

@kba
Copy link
Contributor

kba commented Mar 27, 2023

I am pretty sure this will fall on our feet again and again, because installations will not be equally "swooped" to the new versions likewise. (And we cannot even solve this via version requirements, because none of the qurator packages depend on each other.)

The decision is up to @qurator-spk/dev, I only noticed the deprecation warning. IIUC one of the reasonings for adapting this is that QURATOR project has ended, MMK project has begun and this would be part of the consolidation.

As for breaking installations: As long as people follow the upgrade instructions (deactivate/remove venv, make all for native; docker pull ocrd/all for docker) that should™️ not be a problem.

@mikegerber
Copy link
Member Author

I've now removed the namespace prefix (s/qurator.dinglehopper/dinglehopper and associated changes) altogether.

@mikegerber
Copy link
Member Author

Just to over-communicate again: It should be fixed now, and if you still have problems with git master, please open a new bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants