Releases: tweag/FawltyDeps
v0.12.0
What's Changed
LocalPackageResolver
: Handle multiple package dirs inside one Python env by @jherland in #318- New code for traversing directories by @jherland in #324
- Prepare test suite for traversing Python environments by @jherland in #325
- Allow isort >= 5.12 when running on Python > 3.7 by @jherland in #335
- Change development status to 3- Alpha by @mknorps in #337
- Teach FawltyDeps to automatically discover Python environments inside the project by @jherland in #326
- Various cleanups after integrating Python environments into
traverse_project
by @jherland in #327 - Test refactoring: fake_project fixture by @jherland in #333
- Upgrade our dev env to use Python v3.11 by default by @jherland in #336
Full Changelog: v0.11.0...v0.12.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.11.0
What's Changed
- Fail execution if not all dependencies are resolved. by @mknorps in #320
- Prepare for supporting multiple
--pyenv
options by @jherland in #313 - Pin our
importlib_metadata
version (and some cosmetic fixes) by @jherland in #319 - Test the resolver with the
install_deps
option by @Nour-Mws in #297 TemporaryPipInstallResolver
: Handlepip install
errors gracefully by @jherland in #323- Support multiple
--pyenv
options by @jherland in #321
Full Changelog: v0.10.0...v0.11.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.10.0
What's Changed
User-visible improvements:
- User defined mapping: add option and handling for multiple mapping files by @mknorps in #306
- Add support for PEP582
__pypackages__
directories by @jherland in #312
Internal refactoring/improvements
- Traverse refactor, part 1 by @jherland in #288
- Add
fawltydeps.__main__
module to allow 'python -m fawltydeps' by @jherland in #311 test_cmdline
cleanups by @jherland in #310- Fix boolean representation and skip null values in generated toml config by @Nour-Mws in #300
- Refactor resolver tests, transition to PBT by @Nour-Mws in #296
Full Changelog: v0.9.0...v0.10.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.9.0
What's Changed
New feature: User-defined mapping
- Add user-defined mapping by @mknorps in #287
- User-defined mapping: add option to read mapping from configuration file by @mknorps in #292
Tests
- Set a local cache of packages tarballs by @Nour-Mws in #286
- Tests refactor: running fawltydeps on 'main' instead of in subprocess in command line tests by @mknorps in #271
Full Changelog: v0.8.0...v0.9.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.8.0
What's Changed
Documentation
- README.md: Add a FAQ about using stdin to pass Python code by @jherland in #254
- Add the code of conduct by @mknorps in #269
Tests
- pip install with --no-deps when setting up a venv by @Nour-Mws in #259
- Extract default values of settings in cmdline tests by @Nour-Mws in #261
- Tests refactor: Hypothesis command line tests by @mknorps in #218
CLI
Features
- Install declared deps into a temp venv to infer mappings by @Nour-Mws in #252
- Update isort to v5.11.5, but no further by @janydoe and @jherland in #279
Refactor
- package: Introduce a list of package resolvers by @jherland in #268
- Preparing for the traversal refactoring by @jherland in #275
- Separate module for CLI options by @mknorps in #281
Developer's experience
- noxfile.py: More stats in our test output by @jherland in #278
- Minor Nox/Pyproject fixes by @jherland in #280
Full Changelog: v0.7.1...v0.8.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.7.1
What's Changed
CLI
- Multiple positional args for base paths by @vreuter in #238
- Collect multivalued CLI args rather than overwriting by @vreuter in #247
- README.md: Add a FAQ about using stdin to pass Python code by @jherland in #254
Tests
- Tests refactor: small fix to deduplicate dependencies factory by @mknorps in #245
- Tests refactor: use a vector of test cases for settings tests by @mknorps in #248
- Tests refactor: use a vector of test cases for parsing pyproject.toml tests by @mknorps in #250
- Tests refactor: Change
main
to explicitly take stdin, stdout for better testability by @mknorps in #251 - Develop sample_projects to support multiple experiments and cached venvs by @jherland in #253
- Tests refactor: Extract default values of settings in cmdline tests by @Nour-Mws in #261
Resolving dependencies
Full Changelog: v0.7.0...v0.7.1
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.7.0
What's Changed
- Teach
packages.LocalPackageLookup
to look at other venvs by @jherland in #215 - main: Write a friendly success message when we find no issues by @jherland in #224
- Explain the origin of the tool's name in the README by @Nour-Mws in #223
- Add
--venv
option to CLI by @jherland in #219 - Add a shield for CI to the top of README by @mknorps in #232
- Refactor
extract_declared_dependencies
parser APIs in preparation for #227 by @jherland in #229 - Leverage existing requirements.txt parsing logic to close #225 by @vreuter in #227
- Update
README.md
to document the new--venv
option by @jherland in #228 - doc: fix configurattion example in pyproject.toml by @janydoe in #234
- Adapt success message to the performed checks by @Nour-Mws in #230
- Various doc updates by @jherland in #237
- Rename
--venv
to--pyenv
by @jherland in #242 - main: Fix crash when encoding Settings.code items by @jherland in #235
New Contributors
Full Changelog: v0.6.1...v0.7.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.6.1
v0.6.0
What's Changed
Fixes:
Refactor:
- test_real_projects: Use context manager instead of autouse fixture by @jherland in #207
- Refactor
check
module and associated tests by @jherland in #202
Documentation:
- Document
basepath
and bump version number by @jherland in #208 - Inform user when we fall back to identity mapping by @jherland in #209
- Bump version #216
Features:
- allow multiple code and deps options on the command line: deps by @mknorps in #210
- allow multiple code and deps options on the command line: code by @mknorps in #214
Full Changelog: v0.5.0...v0.6.0
Refer to the project's README
or fawltydeps --help
for more documentation.
v0.5.0
What's Changed
- Test real projects in virtual environments by @Nour-Mws in #188
- Positional (optional) arg for code and deps path by @vreuter in #194
- Simplify DeclaredDependency and fix typing{-,_}extensions by @jherland in #193
- Fix integration_tests-3.7 within nix-shell by @jherland in #201
- sample_projects: Add example from announcement blog post by @jherland in #203
- Hot fix for invalid parsing of requirements by @mknorps in #204
Full Changelog: v0.4.1...v0.5.0
Refer to the project's README
or fawltydeps --help
for more documentation.