-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/build with poetry #132
Conversation
# Conflicts: # setup.py
This requires the `wrapt` library which I haven't specified yet in project requirements.
Added wrapt dependency as a core dependency Added urllib3 dependency to core (poetry requires urllib3<2.0 to function but some extra libraries update its version) Maybe should use a different approach for these dependencies (not install them in core)
- Add pip upgrade for no reason - Install specific extras instead of all - Add flags to fix problems with poetry install - Temporary fix of coverage job (poetry run test doesn't work)
Help needed with following lines of patch_source_file(
getsourcefile(sphinx_autodoc_typehints),
"""
class LoggerDummy():
def warning(self, message, *args):
print(f"Warning suppressed: {message % args}")
_LOGGER = LoggerDummy()
""",
) |
# Conflicts: # dff/__init__.py # docs/source/conf.py # makefile # setup.py
Instead of removing all directories to check that tests pass and do not miss any json files in `dff` it would be better to simply include all files under `dff` into source package. Also remove redundant excludes and includes.
These are separate tasks.
Should we exclude |
Do you mean from |
Coverage 7.3.3 breaks `pragma: no cover` -- https://www.github.com/nedbat/coveragepy/issues/1713
The error with test_coverage was caused by new `coverage` version breaking things. Keeping poetry lock in git would allow to separate errors caused by our code from those caused by dependency updates: https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control
All devel processes require it.
Poetry lock allows us to freeze dependencies without doing so in pyproject.toml.
urllib breaks poetry, so we want to restrict its version only in devel environments
Merging this PR will make dependabot notify us only about new versions of |
@pseusys |
Description
Building with
poetry
added.Checklist