tuna / issues

Code Unrelated Issues
362 stars 28 forks source link

Deleted pypi package is not deleted from tuna mirror #1143

Closed mohamed-ali closed 3 years ago

mohamed-ali commented 3 years ago

Could you please activate removing deleted packages. This deleted pypi package is still showing on your mirror: https://pypi.org/project/rakuten.spark/

shankerwangmiao commented 3 years ago

See https://github.com/tuna/tunasync-scripts/blob/350ef7a6bc18aaa97fc515748206b85943e6946a/pypi.sh#L25

We have enabled that option.

mohamed-ali commented 3 years ago

@shankerwangmiao You enable it in line 25 and disable it in line 50 https://github.com/tuna/tunasync-scripts/blob/master/pypi.sh#L50

Otherwise could you please remove this package: https://pypi.tuna.tsinghua.edu.cn/simple/rakuten-spark/? It was already removed from pypi https://pypi.org/project/rakuten.spark/

Thanks.

shankerwangmiao commented 3 years ago

It is controlled by the environment variable INIT, and I can confirm that INIT should normally be 0, so the configuration at L25 will take effect.

mohamed-ali commented 3 years ago

@shankerwangmiao If so, could you please let me know when the mirror will get refreshed to remove the deleted repository ? Thanks.

mohamed-ali commented 3 years ago

Thanks it's removed.

shankerwangmiao commented 3 years ago

@shankerwangmiao If so, could you please let me know when the mirror will get refreshed to remove the deleted repository ? Thanks.

We sync pypi using bandersnatch every 5 minutes. I have no idea why the package you mentioned failed to get deleted. The removal is done manually.