Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

pypi.disallow_fallback doesn't work #327

@pulecp

Description

@pulecp

Hello,

I would need to help with configuring pypi.disallow_fallback. It seems like any format doesn't work for me:

pypi.disallow_fallback = package1 package2
pypi.disallow_fallback =
    package1
    package2
pypi.disallow_fallback = (package1, package2)
pypi.disallow_fallback = [package1, package2]
pypi.disallow_fallback = package1, package2

I still see in logs that Pypicloud tried to search a package in an upstream even when it shouldn't look for it because it's private package:

2022-11-04 14:17:22	WARNING 2022-11-04 14:17:22,547 [pypicloud.locator] Error fetching 'package1' from upstream: 404 Client Error: Not Found for url: https://pypi.org/pypi/package1/json

Here is a part of configuration I'm using. If you need more or whole config, let me know.

pypi.always_show_upstream = true
pypi.cache_update = everyone
pypi.fallback = cache
pypi.disallow_fallback =

I'm running the newest version of Pypicloud from docker hub stevearc/pypicloud:1.3.11-alpine.

I have feeling that this option doesn't work at all.

Note: I already asked the same question in an old issue where someone had similar issue with formatting - link.

Thanks you very much for help! If you need more info, testing, just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions