Giter Club home page Giter Club logo

Comments (5)

glennmatthews avatar glennmatthews commented on July 18, 2024

Looks like we regressed on #4282 as part of the merge resolution process for 2.0, perhaps?

from nautobot.

glennmatthews avatar glennmatthews commented on July 18, 2024

Actually, wait - the Dockerfile in ltm-1.6 looks correct to me:

https://github.com/nautobot/nautobot/blob/ltm-1.6/docker/Dockerfile#L106

Compare to develop (2.x):

https://github.com/nautobot/nautobot/blob/develop/docker/Dockerfile#L51

Can you confirm the issue you're seeing?

from nautobot.

mathiaswegner avatar mathiaswegner commented on July 18, 2024
ISC20-0562-ML:~ mwegner$ docker run --user root -ti --rm --entrypoint bash networktocode/nautobot:1.6-py3.10
root@4e39ae790220:/opt/nautobot# pip install nautobot[sso]
Requirement already satisfied: nautobot[sso] in /usr/local/lib/python3.10/site-packages (1.6.12)
...
Requirement already satisfied: social-auth-core<4.5.0,>=4.4.2 in /usr/local/lib/python3.10/site-packages (from social-auth-core[openidconnect,saml]<4.5.0,>=4.4.2; extra == "all" or extra == "sso"->nautobot[sso]) (4.4.2)
...
Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/site-packages (from prompt-toolkit>=3.0.36->click-repl>=0.2.0->celery<5.4.0,>=5.3.1->nautobot[sso]) (0.2.13)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@4e39ae790220:/opt/nautobot# 

I'm not sure it's coming from dev. The dependencies image in 1.6 LTS has poetry install --no-root --only main --no-ansi --extras all in the last RUN, then the final image has
COPY --from=dependencies /usr/local/lib/python${PYTHON_VER}/site-packages /usr/local/lib/python${PYTHON_VER}/site-packages

So maybe this is all moot and we close this wontfix?

from nautobot.

glennmatthews avatar glennmatthews commented on July 18, 2024

So that looks like the sso extra python packages are installed in the final image, which is expected.

I thought the issue we were discussing on slack previously was that the OS dependencies for this extra (libxmlsec1-dev, libxmlsec1-openssl) were missing from the image. (I'd also assumed we were talking about a 2.x image rather than 1.6, mea culpa). Sorry if I'm muddying the waters here!

from nautobot.

mathiaswegner avatar mathiaswegner commented on July 18, 2024

Oh! I got that entirely wrong! The two libxmlsec1 packages are present in the image. pkg-config is also listed in the documentation and is not present in the image, but I'm guessing that's needed to build the other two and not at runtime.

from nautobot.

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.