Skip to content

Conversation

@EliahKagan
Copy link
Owner

@EliahKagan EliahKagan commented Jun 2, 2023

But I'm keeping typeguard back at major version 2 for now, as detailed below.

This seems to have stopped working in major version 3 (based on
my testing in this project). The current major version of typeguard
is 4. The issue looks like:

agronholm/typeguard#364

This should probably only be a temporary solution. There are other
libraries I could use. But also, it's not obvious that the added
clarity of presentation from defining the top-level functions in
the notebooks that use them, rather than in modules as I would
ordinarily do, is justified, even in the absence of this issue. So
it may be worthwhile to revisit that design decision for codegraph.
But for now I'm keeping that as it is and holding back typeguard.

This commit also updates typing-extensions to the next patch
version.
@EliahKagan EliahKagan merged commit eb0b4ef into main Jun 2, 2023
@EliahKagan EliahKagan deleted the deps branch June 2, 2023 07:22
EliahKagan added a commit that referenced this pull request Jul 3, 2023
I should've done this in #26 but didn't.

Besides fixing that error, this commit improves the output in the
notebooks in two other ways:

1. The Graphviz version used in this run handled some things
   better. See #5 and #6. (This is due to the system Graphviz on
   the machine I'm using to rerun this being old enough to have
   the bug discussed there. Using the conda environment instead of
   the poetry environment addresses that, because in the conda
   environment, the graphviz conda package is used.)

2. One of the Git repositories being visualized was absent from
   the test machine before. I cloned it so that graph would be
   redrawn rather than omittedw with an error.
EliahKagan added a commit that referenced this pull request Jul 3, 2023
#39)

* Update dependencies (except typeguard)

* Re-run notebooks

* Hold back typeguard for conda too

I should've done this in #26 but didn't.

Besides fixing that error, this commit improves the output in the
notebooks in two other ways:

1. The Graphviz version used in this run handled some things
   better. See #5 and #6. (This is due to the system Graphviz on
   the machine I'm using to rerun this being old enough to have
   the bug discussed there. Using the conda environment instead of
   the poetry environment addresses that, because in the conda
   environment, the graphviz conda package is used.)

2. One of the Git repositories being visualized was absent from
   the test machine before. I cloned it so that graph would be
   redrawn rather than omittedw with an error.
EliahKagan added a commit that referenced this pull request Dec 1, 2023
So it's easy to take grouped updates without updating typeguard to
a higher major version, which the project does not currently
support, as noted in #26.
EliahKagan added a commit that referenced this pull request Dec 1, 2023
So it's easy to take grouped updates without updating typeguard to
a higher major version, which the project does not currently
support, as noted in #26.
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.

2 participants