etesync / server

The Etebase server (so you can run your own)
https://www.etesync.com
GNU Affero General Public License v3.0
1.53k stars 75 forks source link

dev-python/watchgod being removed from gentoo repositories #157

Open CaseOf opened 1 year ago

CaseOf commented 1 year ago

Hello,

I’ve noticed on update that now dev-python/watchgod is being masked. It will be removed on 2022-12⁻04. They were saying it was only used by dev-python/uvicorn and that they have replaced it by dev-python/watchfiles.

What should I do for etebase server? Should I add watchgod on my own overlay? Should we work on etebase switching on it?

They have linked a bug report for this #879515.

Their original comment about the package mask:

# Michał Górny <mgorny@gentoo.org> (2022-11-04)
# NIH version of dev-python/watchdog that was used by dev-python/uvicorn
# only, and was replaced by rustified dev-python/watchfiles.
# Removal on 2022-12-04.  Bug #879515.
Xiretza commented 1 year ago

I don't think etebase-server depends on watchgod? It's only a transitive dependency through uvicorn, so if that gets moved to another package it shouldn't affect etebase-server.

CaseOf commented 1 year ago

Ok, I’m removing this dependency.

CaseOf commented 1 year ago

Just to be sure, these are actually the dependencies I’ve set for etebase. Is there something to change?

                >=dev-python/aiofiles-0.8.0[${PYTHON_USEDEP}]
                >=dev-python/django-3.2.12[${PYTHON_USEDEP},sqlite]
                <dev-python/django-4.0.0[${PYTHON_USEDEP},sqlite]
                >=dev-python/fastapi-0.75.0[${PYTHON_USEDEP}]
                >=dev-python/httptools-0.4.0[${PYTHON_USEDEP}]
                >=dev-python/msgpack-1.0.3[${PYTHON_USEDEP}]
                >=dev-python/pynacl-1.5.0[${PYTHON_USEDEP}]
                >=dev-python/python-dotenv-0.19.2[${PYTHON_USEDEP}]
                >=dev-python/pytz-2022.1[${PYTHON_USEDEP}]
                >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
                >=dev-python/redis-py-4.2.0[${PYTHON_USEDEP}]
                >=dev-python/uvicorn-0.17.6[${PYTHON_USEDEP}]
                >=dev-python/uvloop-0.16.0[${PYTHON_USEDEP}]
                >=dev-python/websockets-10.2[${PYTHON_USEDEP}]
tasn commented 1 year ago

These are the direct Etebase dependencies: https://github.com/etesync/server/blob/master/requirements.in/base.txt

CaseOf commented 1 year ago

Oops, I do not have typing_extensions. Also saw some deps that I could clean.

CaseOf commented 1 year ago

About direct dependencies, it seems that on Gentoo, the dependency tree is not exactly the same than on python projects. Then some dependencies may be missing after that. That explains why I was watching the complete dependency tree. But if you are not actively using them on etebase, I should remove them.

tasn commented 1 year ago

Yeah, not using watchgod, it's only useful for dev.