Git Product home page Git Product logo

Comments (5)

inz1981 avatar inz1981 commented on May 31, 2024 1

Hi! Thanks for your effort in this @alexvoss ! I have also tested to use the standard PyPi repository and it works well. For your reference I am using Python (version 3.11.8) and Poetry (version 1.7.0).

I tested to remove our mirror PyPi repository and added mkdocs-material 9.5.15, and it works as you also shown above. I will have to look internally what is the issue.

Thanks a lot for the support! This ticket can be closed.

from mkdocs-material.

alexvoss avatar alexvoss commented on May 31, 2024

Can you please have a look at the reproduce steps? I installed poetry and run the commands but get:

$ poetry install mkdocs-material 5.9.15
Poetry could not find a pyproject.toml file in /Users/avoss/src/mkdocs-material/reproduce/poetry or its parents

Likewise, the show command gives the same error message. So, there seems to be something missing.

from mkdocs-material.

alexvoss avatar alexvoss commented on May 31, 2024

Right, so after

poetry new poetry-demo
cd poetry-demo
poetry add mkdocs-material
poetry show mkdocs-material

I get:

 name         : mkdocs-material                 
 version      : 9.5.15                          
 description  : Documentation that simply works 

dependencies
 - babel >=2.10,<3.0
 - colorama >=0.4,<1.0
 - jinja2 >=3.0,<4.0
 - markdown >=3.2,<4.0
 - mkdocs >=1.5.3,<1.6.0
 - mkdocs-material-extensions >=1.3,<2.0
 - paginate >=0.5,<1.0
 - pygments >=2.16,<3.0
 - pymdown-extensions >=10.2,<11.0
 - regex >=2022.4
 - requests >=2.26,<3.0

That looks fine. Not sure what might be going wrong on your side but we'd need a reproduction we can test on our own systems to help. For starters, we'd need to know which version of Poetry you are using, on what OS and how you set up your project.

from mkdocs-material.

seub avatar seub commented on May 31, 2024

Hi @inz1981, I'm wondering if you were able to figure out the issue?

I'm running into the exact same scenario: when I use the standard PyPi, all dependencies are installed as expected, but when using our artifactory mirror, Poetry doesn't see the dependencies.

(Using Poetry 1.8.2, mkdocs-material 9.5.17)

from mkdocs-material.

inz1981 avatar inz1981 commented on May 31, 2024

Hi @seub !

I have not spent any time on trying to figure out what it is..

Interesting that you also get the same issue with a mirroring repository! I cant really understand why its not working as expected. I am using mkdocs-material 9.5.13 since that is the only latest version working for me. So here is the procedure I do when upgrading.

$ python -V
Python 3.11.8

$ poetry -V
Poetry (version 1.7.0)

$ poetry show mkdocs-material 
 name         : mkdocs-material                 
 version      : 9.5.13                          
 description  : Documentation that simply works 

dependencies
 - babel >=2.10,<3.0
 - colorama >=0.4,<1.0
 - jinja2 >=3.0,<4.0
 - markdown >=3.2,<4.0
 - mkdocs >=1.5.3,<1.6.0
 - mkdocs-material-extensions >=1.3,<2.0
 - paginate >=0.5,<1.0
 - pygments >=2.16,<3.0
 - pymdown-extensions >=10.2,<11.0
 - regex >=2022.4
 - requests >=2.26,<3.0

Above its all good with dependencies etc.

When upgrading to 9.5.17:

$ poetry update mkdocs-material
Updating dependencies
Resolving dependencies... (1.1s)

Package operations: 0 installs, 1 update, 5 removals

  • Removing babel (2.14.0)
  • Removing mkdocs-material-extensions (1.3.1)
  • Removing paginate (0.5.6)
  • Removing pygments (2.17.2)
  • Removing regex (2023.12.25)
  • Updating mkdocs-material (9.5.13 -> 9.5.17)

Writing lock file

$ poetry show mkdocs-material
 name         : mkdocs-material 
 version      : 9.5.17          
 description  :                 

Removes dependencies and also the Description...

from mkdocs-material.

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.