удалить deprecated
https://github.com/litestar-org/litestar/issues/4307
#litestar
litestar.contrib.repository
(туда его!)https://github.com/litestar-org/litestar/issues/4307
#litestar
GitHub
Task: Remove deprecated `litestar.contrib.repository` · Issue #4307 · litestar-org/litestar
Remove deprecated litestar.contrib.repository. See #4301 for details on the process
👍5😁5
https://github.com/python/cpython/issues/133210#issuecomment-3370872328
поправить
#cpython #tests
поправить
test_pydoc
с --without-docstrings
флагом.#cpython #tests
GitHub
Some tests fail when python is compiled with `--without-doc-strings` · Issue #133210 · python/cpython
Bug report Run ./configure --without-doc-strings --with-pydebug && make Run tests with ./python.exe -m test You will receive: 5 tests failed: test.test_inspect.test_inspect test.test_pydoc....
👌2
Сделать проверку корректности заливки
Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
types-*
пакетов из typeshed
.Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
GitHub
Support `[dependency-groups]` · Issue #190 · typeshed-internal/stub_uploader
Right now this check fails when a dependency is in a optional group: def verify_external_req_stubs_require_its_runtime( req: Requirement, upstream_distribution: str | None ) -> None: ""...
🍌1🎅1
ради интереса закидываю сложную (относительно), но подъемную задачу из CPython.
https://github.com/python/cpython/issues/139817
#cpython #compiler
https://github.com/python/cpython/issues/139817
#cpython #compiler
GitHub
TypeAliasType objects have no `__qualname__` · Issue #139817 · python/cpython
Bug report Bug description: This means that introspection is worse for type statements declared e.g. within class bodies. A cc @JelleZijlstra CPython versions tested on: 3.12, 3.13, 3.14, 3.15, CPy...
🤯5👍4
Я знаю, тут любят интересные задачки. Поэтому вот вам - необходимо затащить поддержу PEP 695 в FastDepends (и в FastStream транзитивно)
https://github.com/Lancetnik/FastDepends/issues/217
https://github.com/Lancetnik/FastDepends/issues/217
GitHub
bug: PEP 695 support · Issue #217 · Lancetnik/FastDepends
Currently, we doesn't support PEP 695 type X syntax. So, code below raises an error from typing import Annotated from fast_depends import Depends, Provider, inject provider = Provider() def rea...
👍1
Forwarded from ReagentoBot
🚀 New issue to reagento/relator by @Sehat1137
📝 Add Ruff for linting and formatting (#8)
Summary:
Integrate the Ruff linter and formatter into the project to ensure consistent code style and catch common errors.
1. Add ruff.toml to configure rules
2. Add Ruff to the project's dev dependencies in requirements-dev.txt
3. Update the CI/CD pipeline (e.g., GitHub Actions) to run ruff check
#good_first_issue
sent via relator
📝 Add Ruff for linting and formatting (#8)
Summary:
Integrate the Ruff linter and formatter into the project to ensure consistent code style and catch common errors.
1. Add ruff.toml to configure rules
2. Add Ruff to the project's dev dependencies in requirements-dev.txt
3. Update the CI/CD pipeline (e.g., GitHub Actions) to run ruff check
#good_first_issue
sent via relator
❤2👎1🤨1😴1
Forwarded from ReagentoBot
🚀 New issue to reagento/relator by @Sehat1137
📝 Add mypy for static type checking (#9)
Summary:
Integrate mypy static type checker into the project to detect type-related errors before runtime and improve code reliability
Proposed Actions:
• Add mypy.ini with basic configuration.
• Add mypy to development dependencies (e.g., requirements-dev.txt).
• Start with a minimal configuration, ignoring missing imports for third-party libraries.
• Update CI/CD pipeline (e.g., GitHub Actions) to run mypy . command.
• Consider enabling the --strict flag for comprehensive type checking.
#good_first_issue
sent via relator
📝 Add mypy for static type checking (#9)
Summary:
Integrate mypy static type checker into the project to detect type-related errors before runtime and improve code reliability
Proposed Actions:
• Add mypy.ini with basic configuration.
• Add mypy to development dependencies (e.g., requirements-dev.txt).
• Start with a minimal configuration, ignoring missing imports for third-party libraries.
• Update CI/CD pipeline (e.g., GitHub Actions) to run mypy . command.
• Consider enabling the --strict flag for comprehensive type checking.
#good_first_issue
sent via relator
👍3🤔1💩1🤡1
Сделать
Сейчас она используется только для парсинга
Нам нет никакой сложности сделать модуль с нативным
Задача на несколько часов.
https://github.com/wemake-services/django-modern-rest/issues/43
#django_modern_rest
msgspec
опциональной зависимостью.Сейчас она используется только для парсинга
json
, однако, она может не собраться по какой-то причине.Нам нет никакой сложности сделать модуль с нативным
json
для парсинга, если ее нет.Задача на несколько часов.
https://github.com/wemake-services/django-modern-rest/issues/43
#django_modern_rest
GitHub
Do not depend on `msgspec` directly · Issue #43 · wemake-services/django-modern-rest
Right now we always install msgspec directly as the main dependency: django-modern-rest/pyproject.toml Lines 49 to 54 in 25513fd [tool.poetry.dependencies] python = "^3.11" typing_extensi...
👍5
🚀 New issue to ag2ai/faststream by @aleksandrtikhonov
📝 Bug: missing error logs when broker initialize with argument log_level=logging.DEBUG (#2585)
Describe the bug
Missing ERROR logs when broker initialize with argument
How to reproduce
Include source code:
1. Send a message to a topic that does not match the expected model Suka.
Expected behavior
See error logs(error pydantic serializtion) in the console
Observed behavior
Error logs are missing.
Environment
faststream-0.6.0
Additional context
Provide any other relevant context or information about the problem here.
#good_first_issue #bug
sent via relator
📝 Bug: missing error logs when broker initialize with argument log_level=logging.DEBUG (#2585)
Describe the bug
Missing ERROR logs when broker initialize with argument
log_level=logging.DEBUG
How to reproduce
Include source code:
from faststream import FastStream
from faststream.confluent import KafkaBroker, KafkaRouter
from pydantic import BaseModel
broker = KafkaBroker("localhost:9092", log_level=logging.DEBUG)
router = KafkaRouter()
broker.include_router(router)
app = FastStream(broker)
class Suka(BaseModel):
suka_id: int
@router.subscriber("test")
async def suking(suka: Suka) -> None:
print(suka)
1. Send a message to a topic that does not match the expected model Suka.
Expected behavior
See error logs(error pydantic serializtion) in the console
Observed behavior
Error logs are missing.
Environment
faststream-0.6.0
Additional context
Provide any other relevant context or information about the problem here.
#good_first_issue #bug
sent via relator
😁12🗿3🌚2
https://github.com/wemake-services/django-modern-rest/issues/47
Супер простая задача: добавить
#django_modern_rest #typing
Супер простая задача: добавить
TypedDict
для типизации kwarg'ов.#django_modern_rest #typing
GitHub
Implement `TypedDict` types for `model_dump_kwargs` and `from_python_kwargs` · Issue #47 · wemake-services/django-modern-rest
Right now we just type them as dict, which is not ideal. django-modern-rest/django_modern_rest/plugins/pydantic.py Lines 53 to 61 in 5cf21e6 # TODO: use `TypedDict` model_dump_kwargs: ClassVar[dict...
💘3
🚀 New issue to ag2ai/faststream by @lesnik512
📝 Bug: async api route returns 500 if broker is set by set_broker (#2588)
Hi and thank you for this great framework!
Describe the bug
async api route returns 500 if broker is set by method
How to reproduce
#bug #good_first_issue
sent via relator
📝 Bug: async api route returns 500 if broker is set by set_broker (#2588)
Hi and thank you for this great framework!
Describe the bug
async api route returns 500 if broker is set by method
set_broker
How to reproduce
async def test_bug() -> None:
app = faststream.asgi.AsgiFastStream(
asyncapi_path="/docs/"
)
app.set_broker(RedisBroker())
with TestClient(app=app) as test_client:
response = test_client.get("/docs/")
assert response.status_code == 500
app2 = faststream.asgi.AsgiFastStream(
RedisBroker(),
asyncapi_path="/docs/"
)
with TestClient(app=app2) as test_client:
response = test_client.get("/docs/")
assert response.status_code == 200
#bug #good_first_issue
sent via relator
🤔3
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Add `slotscheck` to the CI (#68)
There's an amazing tool called https://github.com/ariebovenberg/slotscheck
We use
List of things to do:
• Add
• Add the configuration to
• Add the call to
This should be a really small task for several minutes :)
#help_wanted #good_first_issue #dependencies #github_actions
sent via relator
📝 Add `slotscheck` to the CI (#68)
There's an amazing tool called https://github.com/ariebovenberg/slotscheck
We use
__slots__
in this project by default. So, we would love to test their defition.List of things to do:
• Add
slotscheck
to test deps• Add the configuration to
pyproject.toml
• Add the call to
Makefile
This should be a really small task for several minutes :)
#help_wanted #good_first_issue #dependencies #github_actions
sent via relator
👍1
🚀 New issue to ag2ai/faststream by @lesnik512
📝 Bug: async api 3.0 errors if gssapi is used (#2593)
Describe the bug
If async api 3.0 is used with gssapi then specification is failed to render
How to reproduce
If gssapi is used for authorization for aiokafka broker then async api 3 failed to render:
Here is problematic block, as I understood
#good_first_issue #bug
sent via relator
📝 Bug: async api 3.0 errors if gssapi is used (#2593)
Describe the bug
If async api 3.0 is used with gssapi then specification is failed to render
How to reproduce
If gssapi is used for authorization for aiokafka broker then async api 3 failed to render:
Error: There are errors in your Asyncapi document
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Property "gssapi" is not expected to be here
0
"0" property must have required property "type"
0
"0" property must not be valid
0
Here is problematic block, as I understood
"securitySchemes": {
"gssapi": {
"type": "gssapi"
}
}
#good_first_issue #bug
sent via relator
🚀 New issue to wemake-services/django-modern-rest by @sobolevn
📝 Add `codespell` to the CI (#72)
We need to add
Example:
• https://github.com/dry-python/returns/blob/1d74c969a94ce13648be2fe2a8bfad3b12f73069/pyproject.toml#L64
• Configuration (should be moved to
• Running: https://github.com/dry-python/returns/blob/1d74c969a94ce13648be2fe2a8bfad3b12f73069/.github/workflows/test.yml#L61
PRs are welcome!
#enhancement #good_first_issue #github_actions #help_wanted
sent via relator
📝 Add `codespell` to the CI (#72)
We need to add
codespell
to the CI, because I make a lot of typos :)Example:
• https://github.com/dry-python/returns/blob/1d74c969a94ce13648be2fe2a8bfad3b12f73069/pyproject.toml#L64
• Configuration (should be moved to
pyproject.toml
): https://github.com/dry-python/returns/blob/1d74c969a94ce13648be2fe2a8bfad3b12f73069/setup.cfg#L170-L173• Running: https://github.com/dry-python/returns/blob/1d74c969a94ce13648be2fe2a8bfad3b12f73069/.github/workflows/test.yml#L61
PRs are welcome!
#enhancement #good_first_issue #github_actions #help_wanted
sent via relator
❤1👍1
🚀 New issue to wemake-services/wemake-python-styleguide by @sobolevn
📝 `WPS226` false positive on fstring parts (#3548)
This code raises a violation:
When
Output:
This does not seem right, because strings that are part of
PR would be rather easy :)
#help_wanted #levelstarter #good_first_issue #bug
sent via relator
📝 `WPS226` false positive on fstring parts (#3548)
This code raises a violation:
x = f'single {1}'
y = f'single {1}'
When
--max-string-usage=1
is provided.Output:
1:5 WPS226 Found string literal over-use: single > 1
x = f'single {1}'
^
This does not seem right, because strings that are part of
f
strings should not be counted by WPS226
PR would be rather easy :)
#help_wanted #levelstarter #good_first_issue #bug
sent via relator