Some of you may know that I retired a few weeks ago, and recently I had the 
notion to write a small desktop app, so of course I wanted to use Dabo. For the 
limited functionality I needed I could get it working, but the code got more 
and more confusing. Perhaps a lot of it was that in the years since we wrote 
it, both Python standards as well as my own tastes have changed. So since this 
repo is still "under development", I thought I'd start messing around with it.

The most obvious change is that the old `master` branch has been renamed to 
`dabo2`, and the `dabo3` branch has been renamed `main`. Since no more work 
will be done on the Python2 version of Dabo, I think that this makes sense.

Within the new main branch, I moved the `ide` directory inside of the `dabo` 
directory. This will make it simpler to use the IDE tools when creating a 
third-party app. When I tried to do this with my simple app, there were some 
circular references between a separate installation of the IDE and the dabo 
package, so for any developer who wants to use the connection editor or class 
designer, this will make it possible.

I've also done a lot of namespace cleaning up. Within the dabo package, we had 
countless places where we used the `dabo` namespace directly. This causes 
issues with apps that have imported dabo due to overlapping namespaces. I 
frankly don't know how or why we set it up that way, but it only works by our 
trick of adding a `dabo.pth` file. This trick isn't supported by modern package 
managers like poetry or uv, so I want to get rid of it.

Speaking of package managers, I've added `uv` (https://docs.astral.sh/uv/) as 
the package manager for Dabo. It's super-fast and clean, and I've been happy 
using it in my regular dev work for the last few months. 

Bear in mind that for the foreseeable future, the `main` branch will be 
unstable. Since nobody should be using it anyway, I think that's fine.

I don't know how far I'll get with these changes, but I would like to get this 
working once more.


-- Ed Leafe


_______________________________________________
Post Messages to: Dabo-dev@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/c7a66fe7-5ad8-404e-963d-ac04d2b87...@leafe.com

Reply via email to