Giter Club home page Giter Club logo

python-2's Introduction

python Build Status

A dependencies.io component that provides updates for Python projects that use "requirements.txt" files or Pipfiles for tracking project dependencies.

Usage

version: 2
dependencies:
- type: python
  path: requirements.txt
  # All settings are optional
  settings:
    # specify an exact version of python to use, if you need something other than the latest 3.7
    python_version: "3.5.6"
    pipfile_sections:
    - packages
    pipfilelock_sections:
    - default
    pip_args:
    - "--extra-index-url"
    - "{our_private_index_url}"
    # If versions matching your spec are not found, it errors by default.
    # You might enable this setting if you have private packages that you
    # aren't trying to track yet, and want to convert those errors to warnings.
    warn_on_missing_versions: false

Pipfile Support

In addition to the standard settings for actors and collectors, this module has some specific configuration available when using a Pipfile and Pipfile.lock as the dependency source.

Pipfiles are expected to have all the requirements of a project for development, production, testing, etc. listed in a single file, unlike the requirements.txt convention where production and development requirements are often split into different files. Thus, it is often desirable to have the ability to configure which sections of the file should be considered for management by dependencies.io. The default will be to include both of the standard sections of the Pipfile and Pipfile.lock. These settings can be configured to eliminate a section or to possibly add a custom section name. It is possible to change the settings for either Pipfile or Pipfile.lock independently, but in all likelihood they will be changed in tandem.

An example dependencies.yml excluding the development packages in Pipfile and Pipfile.lock would include the settings:

version: 2
dependencies:
- type: python
  path: Pipfile
  settings:
    pipfile_sections:
    - packages
    pipfilelock_sections:
    - default

There are also additional settings available for further customizing how updates are made.

Resources

  • dparse is used as a generic requirements parsing library
  • pipfile original github project

Support

Any questions or issues with this specific actor should be discussed in GitHub issues. If there is private information which needs to be shared then you can instead use the private support channels in dependencies.io.

python-2's People

Contributors

davegaeddert avatar dependencies[bot] avatar paulortman avatar

Watchers

 avatar

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.