matfax / mutapath Goto Github PK
View Code? Open in Web Editor NEWmutable pathlib for Python
Home Page: https://mutapath.fax.fyi
License: GNU Lesser General Public License v3.0
mutable pathlib for Python
Home Page: https://mutapath.fax.fyi
License: GNU Lesser General Public License v3.0
E.g., Path.startfile
is not listed.
Hi I'm the author of pipenv-setup. I checked who's been using my thing and I got nosy :)
Have to say your current setup.py
has problems with it.
https://pypi.org/project/mutapath/#files
You're building sdist (.tar.gz) and wheels.
In case of the wheel file there's no problem as it's compiled binary with specified dependencies. Setup.py has been already evaluated while building a wheel.
However when pip falls back to sdist file due to incompatible binary file. setup.py will be dynamically evaluated and you can't assume a user to have pipfile
installed in order to parse the pipfile.lock
. btw Pipfile.lock
isn't packaged into your distribution either.
This is what happens:
computer:~$ python3 -m pip install ./mutapath-0.9.0.tar.gz
Processing ./mutapath-0.9.0.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-6trezlyr/setup.py", line 34, in <module>
install_requires=get_dependencies(),
File "/tmp/pip-req-build-6trezlyr/setup.py", line 11, in get_dependencies
lock_data = json.load(pipfile_lock.open())
File "/usr/lib/python3.7/pathlib.py", line 1186, in open
opener=self._opener)
File "/usr/lib/python3.7/pathlib.py", line 1039, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'Pipfile.lock'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-6trezlyr/
The only way to resolve this is to write pipfile parsing code with built-in dependencies and add Pipfile to your package_data
keyword in setup.py
Or you can use my pipenv-setup and give me some feature requests if you have any ;)
CodeFactor found multiple issues:
mutapath\decorator.py:84
Commit a2e0cd1
mutapath\decorator.py:86
Commit 4a9cf29
mutapath\lock_dummy.py:20
Commit a2e0cd1
mutapath\lock_dummy.py:16
Commit a2e0cd1
mutapath\lock_dummy.py:12
Commit a2e0cd1
mutapath\lock_dummy.py:8
Commit a2e0cd1
CodeFactor found multiple issues:
mutapath\immutapath.py:316
Commit 43b1ec0
mutapath\decorator.py:52
Commit e26a218
mutapath\decorator.py:27
Commit e26a218
mutapath\exceptions.py:5
Commit e26a218
Dependabot couldn't parse the Pipfile.lock found at /docs/Pipfile.lock
.
The error Dependabot encountered was:
Dependabot::DependencyFileNotParseable
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/advisor.yml
GitHubSecurityLab/actions-permissions v1.0.0
.github/workflows/audit.yml
int128/hide-comment-action v1.23.0
actions/checkout v3.5.3
actions/setup-python v4.7.0
pronovic/setup-poetry v1.2.0
ossillate-inc/packj-github-action v0.0.11-beta
.github/workflows/black.yml
actions/checkout v3.5.3
actions/setup-python v4.7.0
rickstaa/action-black v1.3.1
peter-evans/create-pull-request v5.0.2
reviewdog/action-suggester v1.7.1
.github/workflows/build.yml
actions/checkout v3.5.3
actions/setup-python v4.7.0
pronovic/setup-poetry v1.2.0
codecov/codecov-action v3.1.4
.github/workflows/codeql.yml
related-sciences/gce-github-runner v0.8
actions/checkout v3.5.3
actions/setup-python v4.7.0
github/codeql-action v2.21.2
github/codeql-action v2.21.2
.github/workflows/publish.yml
actions/checkout v3.5.3
actions/setup-python v4.7.0
pronovic/setup-poetry v1.2.0
codecov/codecov-action v3.1.4
tschm/token-mint-action v1.0.2
pyproject.toml
poetry >=1.2
pyproject.toml
python ^3.8
singletons ~0.2.5
cached-property ~1.5.2
filelock ~3.12.2
path >=16.2,<=16.7.1
mashumaro >=3,<=3.8.1
green ~3.4.3
coverage ~7.2.7
codecov ~2.1.13
bandit ~1.7.5
black ~23.7.0
sphinx ~6.2.1
sphinx-rtd-theme ~1.2.2
m2r2 ~0.3.2
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.