Comments (6)
I've fixed the crashing on missing config in config files, and the two most obvious import-error issues.
Version 1.12.8 is available on PyPI.
from pydeps.
No need to apologize! I was just trying to point out that this is a much bigger issue than the title implies (but you correctly point out in your report).
from pydeps.
I think the title here is burying the lede a bit:
Even when tomlkit is installed manually, if you haven't correctly set up a pydeps config file it will also fail:
I came here looking for other issues reported about this since that's what I was seeing in version 1.12.7 so it hasn't been fixed yet.
from pydeps.
@mivade apologies. The lack of tomlkit
was the first issue I hit, and I started the issue. Trying to fix it, I hit more and more until I determined that the release was basically completely broken based on the documentation at the time.
The title could very well have been "Release 1.12.5 doesn't work at all by following docs"
from pydeps.
I see there is a problem if a config file is found and doesn't contain a pydeps config (configs.pyL365).
Hmm.. I tried to make it so (a) pythons with included tomllib would work, (b) any of the other common(?) toml-libraries (i.e. tomlkit and toml) would work if they were found.
My thinking being that people who wanted to pick up configs from pyproject.toml already had their preferred toml-library installed.
Is there a better way of doing this?
from pydeps.
@thebjorn thank you! A PR was opened in our codebase this morning via Renovate and it's working just as before.
from pydeps.
Related Issues (20)
- Possible to generate dependencies lists ? HOT 1
- Generate indirect dependency relationship. HOT 3
- Output result is a little bit confusing. HOT 2
- Is there a way to skip SKIPPING ILLEGAL MODULE_NAME warning? HOT 4
- The imports data is incorrect for the panda repository.
- How to use pydeps api. HOT 8
- Support Python 3.10 -- find replacement for stdlib_list HOT 8
- from ... import module gets ignored HOT 1
- Why pydeps pydeps doesn't work? HOT 4
- Duplicate source entries got generated that caused incorrect call graph relationship. HOT 4
- pydeps should ignore TYPE_CHECKING imports HOT 1
- pydeps should remove the hard requirement presence on __init__.py. HOT 2
- Feature request: function matching HOT 2
- empty output with multiple dots in file name HOT 3
- pydeps no longer supports files in subdirectories HOT 3
- PyDeps - Unable to render a module that uses a stdlib HOT 4
- pydeps 1.12.2 introduces bogus import HOT 2
- ValueError when running pydeps HOT 5
- Fix code scanning alert - Module is imported more than once
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydeps.