Coder Social home page Coder Social logo

Comments (7)

fschulze avatar fschulze commented on June 20, 2024

Can you provide more details, do you get an error message?

from devpi.

zhenzi0322 avatar zhenzi0322 commented on June 20, 2024

Can you provide more details, do you get an error message?

pip install pip==23.1.2 -i https://pypi.long920.cn/root/pypi/+simple

from devpi.

zhenzi0322 avatar zhenzi0322 commented on June 20, 2024

I don't know why there is no version with pip=23.1.2

from devpi.

fschulze avatar fschulze commented on June 20, 2024

Can you open https://pypi.long920.cn/root/pypi/+simple/pip in a browser in click the refresh button? Also check the devpi-server logs when you do that and report the output here. Are you aware that https://pypi.long920.cn/root/pypi/+simple/pip is public?

from devpi.

zhenzi0322 avatar zhenzi0322 commented on June 20, 2024

log

devpi_server.model.UpstreamError: serial mismatch on GET URL('https://pypi.tuna.tsinghua.edu.cn/simple/pip/'), cache_serial 16906393 is newer than returned serial -1
2023-05-26 01:10:00,071 INFO  [req275] GET /root/pypi/+simple/pip/
2023-05-26 01:10:00,648 WARNI [req275] [Rtx1477] serving stale links, because of exception Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/devpi_server/mirror.py", line 707, in get_simplelinks_perstage
    self.xom.run_coroutine_threadsafe(
  File "/usr/local/lib/python3.9/site-packages/devpi_server/main.py", line 264, in run_coroutine_threadsafe
    raise exc
  File "/usr/local/lib/python3.9/site-packages/devpi_server/main.py", line 251, in _with_timeout
    return await asyncio.wait_for(asyncio.shield(coroutine), timeout)
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 481, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.9/site-packages/devpi_server/mirror.py", line 552, in _async_fetch_releaselinks
    raise self.UpstreamError(
devpi_server.model.UpstreamError: serial mismatch on GET URL('https://pypi.tuna.tsinghua.edu.cn/simple/pip/'), cache_serial 16906393 is newer than returned serial -1

from devpi.

fschulze avatar fschulze commented on June 20, 2024

Did you change the mirror_url? If data was already fetched and the mirror_url is changed to a different server that does not have the same internal serial numbers as pypi.org does, then you get this error. Also see the issue I just created: #973

from devpi.

zhenzi0322 avatar zhenzi0322 commented on June 20, 2024

OK. Processed

from devpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.