You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include redis_om package for Poetry 2.0+ compatibility (#740)
* include redis_om package
* Add redis_om placeholder for Poetry 2.0+ compatibility
- Add redis_om/README.md placeholder so package directory exists
- Update .gitignore to track README.md but ignore generated files
- Update make_sync.py to preserve README.md when regenerating
* Add placeholder __init__.py so Poetry recognizes redis_om as a package
* Fix wheel packaging to include redis_om and exclude docs/images
- Add redis_om to packages AND include with format=[sdist, wheel] to
override .gitignore exclusion
- Remove docs/* and images/* from include (shouldn't be in wheels)
Fixes all issues from #713:
1. redis_om/ missing from wheel
2. docs/ and images/ incorrectly in wheel
3. python-ulid already updated in prior commit
Closes#713Closes#731
---------
Co-authored-by: dotlambda <[email protected]>
This directory contains the **synchronous version** of redis-om-python.
4
+
5
+
## Important Notes
6
+
7
+
1.**Do not edit files in this directory directly** - they are auto-generated from `aredis_om/` using [unasync](https://github.com/python-trio/unasync).
8
+
9
+
2.**To regenerate**: Run `make sync` from the project root.
10
+
11
+
3.**Why this README exists**: This placeholder file allows the `redis_om` package to be declared in `pyproject.toml` for Poetry 2.0+ compatibility, which requires package directories to exist at install time.
12
+
13
+
4.**All other files are gitignored**: Only this README is tracked in git. The actual Python files are generated and ignored.
14
+
15
+
## Development Workflow
16
+
17
+
1. Make changes in `aredis_om/` (the async version)
0 commit comments