Commit 7698276
authored
Migrate to py-cid v0.4.0: Update dependencies (#54)
* Migrate to py-cid v0.4.0: Update dependencies and migrate base58 to py-multicodec
- Update dependencies: py-multibase>=2.0.0, py-multicodec>=1.0.0, py-multihash>=3.0.0
- Remove local base58 module and migrate to py-multicodec's b58encode/b58decode
- Update version to 0.4.0
- Add newsfragments for breaking changes, features, and internal changes
- Remove base58 from ruff known-third-party config
* Restore base58 package dependency
- Add base58>=1.0.2,<2.0 to dependencies
- Revert code to use base58 package instead of py-multicodec
- Add base58 back to ruff known-third-party config
* Fix linting and documentation issues
- Fix import sorting in cid/cid.py (ruff)
- Update Makefile to use --separate flag for sphinx-apidoc and remove modules.rst
- Add cid.rst to toctree in docs/index.rst to fix documentation warning
* Fix CI linting issues
- Fix import order in cid/cid.py (ruff isort)
- Remove trailing blank lines from newsfragments files (end-of-file-fixer)
* Remove newsfragments for non-existent issue 48
* Simplify docs generation: use --no-toc instead of removing modules.rst
- Use --no-toc flag to prevent generating modules.rst
- Remove redundant rm -f docs/modules.rst commands
- Cleaner approach similar to py-libp2p pattern
* Restore local base58.py and revert version to 0.3.1
- Restore cid/base58.py (copied from base58 package)
- Remove base58 package dependency from pyproject.toml
- Update imports to use local base58 module
- Revert version from 0.4.0 to 0.3.1 (version bump handled by release process)
- Remove base58 from ruff known-third-party config1 parent 99724e9 commit 7698276
4 files changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments