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

fix: update index docs and dependencies #296

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ For PostgreSQL:

.. code-block:: console

pip install peewee-async aiopg
pip install peewee-async[postgresql]

For MySQL:

.. code-block:: console

pip install peewee-async aiomysql
pip install peewee-async[mysql]

Install from sources
++++++++++++++++++++
Expand All @@ -54,7 +54,7 @@ Install from sources

git clone https://github.com/05bit/peewee-async.git
cd peewee-async
python setup.py install
pip install .

Running tests
+++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion docs/peewee_async/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ The complete working example is provided below. And here are some general notes:

**Also note:** if you spawn an extra task during a transaction, it will run outside of that transaction.

.. literalinclude:: ../../examples/tornado_sample.py
.. literalinclude:: ../samples/tornado_sample.py
:start-after: # Start example
File renamed without changes.
14 changes: 3 additions & 11 deletions examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
fastapi==0.111.0
uvicorn==0.29.0
tornado==6.4
aiohttp==3.9.5
gunicorn==22.0.0

aiopg~=1.4.0
aiomysql~=0.2.0

peewee~=3.17.3
# peewee-async~=0.10.0
aiohttp
gunicorn
peewee-async[postgresql]
4 changes: 2 additions & 2 deletions load-testing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastapi==0.110.0
uvicorn==0.29.0
fastapi
uvicorn
Loading