Skip to content
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

Patch pprint to make pytest diffs nicer for big objects #1

Closed
wants to merge 15 commits into from

Conversation

alexmojaki
Copy link
Owner

Closes samuelcolvin#73

Based on the branch in samuelcolvin#81

Copy link

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise lgtm

tests/test_base.py Outdated Show resolved Hide resolved
evstratbg and others added 12 commits November 14, 2023 08:38
Hi! 

Thanks for the great tool.

In our system, we run checks on the licences in the libraries we use and
having `file` here adds some complexity in parsing.
Would it be possible to have a certain license here, as proposed?

---------

Co-authored-by: Samuel Colvin <s@muelcolvin.com>
This is not the same as
samuelcolvin#71, but it
originates at the same point. When I updated pytz to 2023.3.post1, I
started getting:
```
E       DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
```
This fixes it.

---------

Co-authored-by: Samuel Colvin <s@muelcolvin.com>
…lcolvin#81)

...and a few other things that got in my way as an initial contributor.

Closes samuelcolvin#33
fix samuelcolvin#72

Ended up having to do a bunch of things at the same time to get tests to
pass:
* drop 3.7 (added 3.12 at the same time)
* uprev deps
* uprev pydantic requirement to >2
* switch `IsUrl` to assume pydantic 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants