Code Monkey home page Code Monkey logo

Comments (4)

tddschn avatar tddschn commented on July 23, 2024

Thanks for the suggestion!

I updated the code and package on PyPI - could you try the updated version?

from poetry-add-requirements.txt.

jannikmi avatar jannikmi commented on July 23, 2024

Thank you for the fast response.

The documentation states:

positional arguments:
  poetry_args           Poetry args, pass them after -- at the end of the command

running poeareq requirements.txt -- --lock does not work: "FileNotFoundError: [Errno 2] No such file or directory: '--lock'"

running poeareq requirements.txt --lock works, but still seems to install the dependencies (--lock is being ingnored)

from poetry-add-requirements.txt.

tddschn avatar tddschn commented on July 23, 2024

Thanks for the feedback! I made some change and tested the new -p, --poetry-args option, and it should be working now for v1.3.0.

No -- required for this version, please see the Usage examples and tips section in the readme.

from poetry-add-requirements.txt.

jannikmi avatar jannikmi commented on July 23, 2024

Thanks.

poeareq --ignore-errors existing.requirements.txt --poetry-args --lock works with version 1.4.0.

The documentation however suggests using poeareq --ignore-errors --poetry-args --lock existing.requirements.txt

usage: poetry-add-requirements.txt [-h] [-D] [-I] [-i] [-n] [-p ...] [-V]
                                   [requirements.txt file(s) ...]

options:
...
  -p ..., --poetry-args ...
                        Additional arguments to pass to Poetry, put this at
                        the END of the command (default: None)

I guess, this description could be improved to avoid ambiguities.

Additionally, the link to the test-extra-args.sh on PyPI is broken.

from poetry-add-requirements.txt.

Related Issues (3)

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.