Coder Social home page Coder Social logo

py-actions / py-dependency-install Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 4.0 1.71 MB

A GitHub Action that installs Python package dependencies from a user-defined requirements.txt file path with optional pip, setuptools, and wheel installs/updates

License: Apache License 2.0

Makefile 12.57% JavaScript 87.43%
ci continuous-integration dependency dependency-manager github-actions pypi python python3 requirements

py-dependency-install's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

py-dependency-install's Issues

Update node 12 to node 16

GitHub Actions raises deprecation warnings on Actions that are based on node 12. Update this project to use node 16 and move away from the deprecated node 12 version.

Update cPython installation CI testing versions

  • Add cPy 3.12
  • Remove cPy 3.8

This Action will likely continue to work with cPy 3.8 (and likely even earlier), but we will no longer regularly run CI tests on versions earlier than cPy 3.9

Bug: Could not open requirements file

I have the requirements.txt file in my project root directory but the action fails and says ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'. I've also attached an attachment that shows my requirements.txt file location.

image

Support constraint files?

It'd be nice to have an equivalent of pip install -r requirements.txt -c constraints.txt. This would especially benefit projects that use pip-tools.

pip failing with python error

This just started a couple of hours ago. I'm trying to work around it by not updating pip:

[*] Updating pip package...
/opt/hostedtoolcache/Python/3.10.1/x64/bin/python -m pip install --upgrade pip
/opt/hostedtoolcache/Python/3.10.1/x64/bin/python: Error while finding module specification for 'pip' (AttributeError: module '__main__' has no attribute '__file__')
Error: ERROR: Action failed during dependency installation attempt with error: The process '/opt/hostedtoolcache/Python/3.10.1/x64/bin/python' failed with exit code 1

Here is a link to my workflow run where this happened: https://github.com/ros-planning/moveit2_tutorials/runs/4723045978?check_suite_focus=true

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.