cagtayfabry / pydeps2env Goto Github PK
View Code? Open in Web Editor NEWCreates a conda environment.yml file from python package dependencies (e.g. from pyproject.toml or setup.cfg files).
License: BSD 3-Clause "New" or "Revised" License
Creates a conda environment.yml file from python package dependencies (e.g. from pyproject.toml or setup.cfg files).
License: BSD 3-Clause "New" or "Revised" License
currently, to move a package over to the pip
install section, one has to provide the exactly matching package and version requirements string
e.g. if numpy>=1.20
is specified as a dependency, simply passing --pip="numpy"
will have no effect (which is not very stable)
For the requirements.txt
output, not all pip syntax is supported, e.g. pydeps2env@ git+https://github.com/CagtayFabry/pydeps2env.git
cannot be installed from requirements.txt
using pip
While using this action, I forgot to prepend the checkout action. So the input file was missing and I got this exception:
env["dependencies"] = ["python" + cp.get("options", "python_requires")]
File "/usr/lib/python3.8/configparser.py", line 781, in get
d = self._unify_values(section, vars)
File "/usr/lib/python3.8/configparser.py", line 1149, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'options'
I suggest it be more useful to treat this error. E.g. the configparser creation should fail, if the input file is not present.
Some configuration options would be nice, on the top of my head:
pip
pip
and conda
(e.g. weldx-widgets
-> weldx_widgets
)add configuration to exclude certain requirements (including wildcards)
For consistency (and reliable caching with mamba-org/provision-with-micromamba
or similar) the dependencies listed in the output environment file should be sorted
currently the dependency order can be random (I think this is based on the toml implementation when reading the config file)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.