server icon indicating copy to clipboard operation
server copied to clipboard

dev-python/watchgod being removed from gentoo repositories

Open CaseOf opened this issue 2 years ago • 7 comments

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 <[email protected]> (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.

CaseOf avatar Nov 12 '22 14:11 CaseOf

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.

Xiretza avatar Nov 12 '22 15:11 Xiretza

Ok, I’m removing this dependency.

CaseOf avatar Nov 12 '22 15:11 CaseOf

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}]

CaseOf avatar Nov 12 '22 17:11 CaseOf

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

tasn avatar Nov 13 '22 18:11 tasn

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

CaseOf avatar Nov 13 '22 19:11 CaseOf

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.

CaseOf avatar Nov 13 '22 19:11 CaseOf

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

tasn avatar Nov 13 '22 20:11 tasn