## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # This package corresponds to two PyPI projects (fastapi-slim, and fastapi) # co-developed in one repository. Since the two are versioned identically and # released at the same time, it makes sense to build them from a single source # package. (The fastapi-cli package is versioned and packaged separately.) # Breaks a circular dependency on fastapi-cli by omitting it from fastapi’s # “standard†and “all†extras. %bcond bootstrap 0 %bcond orjson 1 %bcond uvicorn 1 %bcond sqlmodel 1 # Not yet packaged: https://pypi.org/project/PyJWT/ %bcond pyjwt 0 # For translations, check docs/*/docs/index.md # Note that there are many other localized versions of the documentation # *present*, but untranslated. %global sum_bn FastAPI উচà§à¦šà¦•à§à¦·à¦®à¦¤à¦¾ সমà§à¦ªà¦¨à§à¦¨ %global sum_de FastAPI Framework %global sum_en FastAPI framework %global sum_es FastAPI framework %global sum_fr Framework FastAPI %global sum_he תשתית FastAPI %global sum_hu FastAPI keretrendszer %global sum_ja FastAPI framework %global sum_ko FastAPI í”„ë ˆìž„ì›Œí¬ %global sum_pl FastAPI to szybki %global sum_pt Framework FastAPI %global sum_ru FastAPI %global sum_tr FastAPI framework %global sum_uk Готовий до продакшину %global sum_yo ÃŒlà nà wẹÌẹÌbù FastAPI %global sum_zh FastAPI 框架 Name: python-fastapi Version: 0.115.5 Release: %autorelease Summary: %{sum_en} # SPDX License: MIT URL: https://github.com/fastapi/fastapi Source: %{url}/archive/%{version}/fastapi-%{version}.tar.gz BuildArch: noarch # Downstream-only: run test_fastapi_cli without coverage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters Patch: 0001-Downstream-only-run-test_fastapi_cli-without-coverag.patch # â™»ï¸ Update tests and internals for compatibility with Pydantic >=2.10 # https://github.com/fastapi/fastapi/pull/12971 Patch: %{url}/pull/12971.patch BuildRequires: python3-devel # Since requirements-tests.txt and requirements-docs-tests.txt contain # overly-strict version bounds and many unwanted # linting/coverage/typechecking/formatting dependencies # (https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters), # we just list the test dependencies we *do* want manually rather than trying # to patch the requirements files. We preserve upstream’s lower bounds but # remove upper bounds, as we must try to make do with what we have. # # requirements-docs-tests.txt: # # For mkdocstrings and tests BuildRequires: %{py3_dist httpx} >= 0.23 # requirements-tests.txt: BuildRequires: %{py3_dist pytest} >= 7.1.3 BuildRequires: %{py3_dist dirty-equals} >= 0.6 %if %{with sqlmodel} BuildRequires: %{py3_dist sqlmodel} >= 0.0.22 %endif BuildRequires: %{py3_dist flask} >= 1.1.2 BuildRequires: %{py3_dist anyio[trio]} >= 3.2.1 # Omit PyJWT, https://pypi.org/project/PyJWT/, because it is not packaged and # only has very limited use in the tests. %if %{with pyjwt} BuildRequires: %{py3_dist PyJWT} >= 2.8 %endif BuildRequires: %{py3_dist pyyaml} >= 5.3.1 BuildRequires: %{py3_dist passlib[bcrypt]} >= 1.7.2 BuildRequires: %{py3_dist inline-snapshot} >= 0.13 # This is still needed in the tests even if we do not have sqlmodel to bring it # in as an indirect dependency. BuildRequires: %{py3_dist sqlalchemy} Summary(bn): %{sum_bn} Summary(de): %{sum_de} Summary(en): %{sum_en} Summary(es): %{sum_es} Summary(fr): %{sum_fr} Summary(he): %{sum_he} Summary(hu): %{sum_hu} Summary(ja): %{sum_ja} Summary(ko): %{sum_ko} Summary(pl): %{sum_pl} Summary(pt): %{sum_pt} Summary(ru): %{sum_ru} Summary(tr): %{sum_tr} Summary(uk): %{sum_uk} Summary(yo): %{sum_yo} Summary(zh): %{sum_zh} %global common_description_bn %{expand: FastAPI à¦à¦•à¦Ÿà¦¿ আধà§à¦¨à¦¿à¦•, দà§à¦°à§à¦¤ ( বেশি কà§à¦·à¦®à¦¤à¦¾ ) সমà§à¦ªà¦¨à§à¦¨, Python 3.6+ দিয়ে API তৈরির জনà§à¦¯ সà§à¦Ÿà§à¦¯à¦¾à¦¨à§à¦¡à¦¾à¦°à§à¦¡ পাইথন টাইপ ইঙà§à¦—িত à¦à¦¿à¦¤à§à¦¤à¦¿à¦• ওয়েব ফà§à¦°à§‡à¦®à¦“য়ারà§à¦•à¥¤ à¦à¦° মূল বৈশিষà§à¦Ÿà§à¦¯ গà§à¦²à§‹ হলঃ • গতি: à¦à¦Ÿà¦¿ NodeJS à¦à¦¬à¦‚ Go à¦à¦° মত কারà§à¦¯à¦•à§à¦·à¦®à¦¤à¦¾ সমà§à¦ªà¦¨à§à¦¨ (Starlette à¦à¦¬à¦‚ Pydantic à¦à¦° সাহাযà§à¦¯à§‡)। [পাইথন à¦à¦° দà§à¦°à§à¦¤à¦¤à¦® ফà§à¦°à§‡à¦®à¦“য়ারà§à¦• গà§à¦²à§‹à¦° মধà§à¦¯à§‡ à¦à¦Ÿà¦¿ à¦à¦•à¦Ÿà¦¿](#_11)। • দà§à¦°à§à¦¤ কোড করা:বৈশিষà§à¦Ÿà§à¦¯ তৈরির গতি ২০০% থেকে ৩০০% বৃদà§à¦§à¦¿ করে৷ * • সà§à¦¬à¦²à§à¦ª bugs: মানà§à¦¬ (ডেà¦à§‡à¦²à¦ªà¦¾à¦°) সৃষà§à¦Ÿ তà§à¦°à§à¦Ÿà¦¿à¦° পà§à¦°à¦¾à¦¯à¦¼ ৪০% হà§à¦°à¦¾à¦¸ করে। * • সà§à¦¬à¦œà§à¦žà¦¾à¦¤: দà§à¦°à§à¦¦à¦¾à¦¨à§à¦¤ à¦à¦¡à¦¿à¦Ÿà¦° সাহাযà§à¦¯ Completion নামেও পরিচিত। দà§à¦°à§à¦¤ ডিবাগ করা যায়। • সহজ: à¦à¦Ÿà¦¿ à¦à¦®à¦¨ à¦à¦¾à¦¬à§‡ সজানো হয়েছে যেন নিরà§à¦¦à§‡à¦¶à¦¿à¦•à¦¾ নথি পড়ে সহজে শেখা à¦à¦¬à¦‚ বà§à¦¯à¦¬à¦¹à¦¾à¦° করা যায়। • সংকà§à¦·à¦¿à¦ªà§à¦¤: কোড পà§à¦¨à¦°à¦¾à¦¬à§ƒà¦¤à§à¦¤à¦¿ কমানোর পাশাপাশি, bug কমায় à¦à¦¬à¦‚ পà§à¦°à¦¤à¦¿à¦Ÿà¦¿ পà§à¦¯à¦¾à¦°à¦¾à¦®à¦¿à¦Ÿà¦¾à¦° ঘোষণা থেকে à¦à¦•à¦¾à¦§à¦¿à¦• ফিচার পাওয়া যায় । • জোরালো: সà§à¦¬à¦¯à¦¼à¦‚কà§à¦°à¦¿à¦¯à¦¼ à¦à¦¾à¦¬à§‡ তৈরি কà§à¦°à¦¿à§Ÿà¦¾à¦¶à§€à¦² নিরà§à¦¦à§‡à¦¶à¦¨à¦¾ নথি (documentation) সহ উৎপাদন উপযোগি (Production-ready) কোড পাওয়া যায়। • মান-à¦à¦¿à¦¤à§à¦¤à¦¿à¦•: à¦à¦° à¦à¦¿à¦¤à§à¦¤à¦¿ OpenAPI (যা পà§à¦°à§à¦¬à§‡ Swagger নামে পরিচিত ছিল) à¦à¦¬à¦‚ JSON Schema à¦à¦° আদরà§à¦¶à§‡à¦° মানের ওপর * উৎপাদনমà§à¦–ি à¦à¦ªà§à¦²à¦¿à¦•à§‡à¦¶à¦¨ বানানোর à¦à¦• দল ডেà¦à§‡à¦²à¦ªà¦¾à¦° à¦à¦° মতামত à¦à¦¿à¦¤à§à¦¤à¦¿à¦• ফলাফল।} %global common_description_de %{expand: FastAPI ist ein modernes, schnelles (hoch performantes) Webframework zur Erstellung von APIs mit Python 3.8+ auf Basis von Standard-Python-Typhinweisen. Seine Schlüssel-Merkmale sind: • Schnell: Sehr hohe Leistung, auf Augenhöhe mit NodeJS und Go (Dank Starlette und Pydantic). Eines der schnellsten verfügbaren Python-Frameworks. • Schnell zu programmieren: Erhöhen Sie die Geschwindigkeit bei der Entwicklung von Funktionen um etwa 200 % bis 300 %. * • Weniger Bugs: Verringern Sie die von Menschen (Entwicklern) verursachten Fehler um etwa 40 %. * • Intuitiv: Exzellente Editor-Unterstützung. Code-Vervollständigung überall. Weniger Debuggen. • Einfach: So konzipiert, dass es einfach zu benutzen und zu erlernen ist. Weniger Zeit für das Lesen der Dokumentation. • Kurz: Minimieren Sie die Verdoppelung von Code. Mehrere Funktionen aus jeder Parameterdeklaration. Weniger Bugs. • Robust: Erhalten Sie produktionsreifen Code. Mit automatischer, interaktiver Dokumentation. • Standards-basiert: Basierend auf (und vollständig kompatibel mit) den offenen Standards für APIs: OpenAPI (früher bekannt als Swagger) und JSON Schema. * Schätzung auf Basis von Tests in einem internen Entwicklungsteam, das Produktionsanwendungen erstellt.} %global common_description_en %{expand: FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.8+ based on standard Python type hints. The key features are: • Fast: Very high performance, on par with NodeJS and Go (thanks to Starlette and Pydantic). One of the fastest Python frameworks available. • Fast to code: Increase the speed to develop features by about 200% to 300%.* • Fewer bugs: Reduce about 40% of human (developer) induced errors.* • Intuitive: Great editor support. Completion everywhere. Less time debugging. • Easy: Designed to be easy to use and learn. Less time reading docs. • Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs. • Robust: Get production-ready code. With automatic interactive documentation. • Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema. * estimation based on tests on an internal development team, building production applications.} %global common_description_es %{expand: FastAPI es un web framework moderno y rápido (de alto rendimiento) para construir APIs con Python 3.8+ basado en las anotaciones de tipos estándar de Python. Sus caracterÃsticas principales son: • Rapidez: Alto rendimiento, a la par con NodeJS y Go (gracias a Starlette y Pydantic). Uno de los frameworks de Python más rápidos. • Rápido de programar: Incrementa la velocidad de desarrollo entre 200% y 300%.* • Menos errores: Reduce los errores humanos (de programador) aproximadamente un 40%.* • Intuitivo: Gran soporte en los editores con auto completado en todas partes. Gasta menos tiempo debugging. • Fácil: Está diseñado para ser fácil de usar y aprender. Gastando menos tiempo leyendo documentación. • Corto: Minimiza la duplicación de código. Múltiples funcionalidades con cada declaración de parámetros. Menos errores. • Robusto: Crea código listo para producción con documentación automática interactiva. • Basado en estándares: Basado y totalmente compatible con los estándares abiertos para APIs: OpenAPI (conocido previamente como Swagger) y JSON Schema. * Esta estimación está basada en pruebas con un equipo de desarrollo interno contruyendo aplicaciones listas para producción.} %global common_description_fr %{expand: FastAPI est un framework web moderne et rapide (haute performance) pour la création d’API avec Python 3.8+, basé sur les annotations de type standard de Python. Les principales fonctionnalités sont : • Rapidité : De très hautes performances, au niveau de NodeJS et Go (grâce à Starlette et Pydantic). L’un des frameworks Python les plus rapides. • Rapide à coder : Augmente la vitesse de développement des fonctionnalités d’environ 200 % à 300 %. * • Moins de bugs : Réduit d’environ 40 % les erreurs induites par le développeur. * • Intuitif : Excellente compatibilité avec les IDE. Complétion complète. Moins de temps passé à déboguer. • Facile : Conçu pour être facile à utiliser et à apprendre. Moins de temps passé à lire la documentation. • Concis : Diminue la duplication de code. De nombreuses fonctionnalités liées à la déclaration de chaque paramètre. Moins de bugs. • Robuste : Obtenez un code prêt pour la production. Avec une documentation interactive automatique. • Basé sur des normes : Basé sur (et entièrement compatible avec) les standards ouverts pour les APIs : OpenAPI (précédemment connu sous le nom de Swagger) et JSON Schema. * estimation basée sur des tests d’une équipe de développement interne, construisant des applications de production.} %global common_description_he %{expand: FastAPI ×”×™× ×ª×©×ª×™×ª רשת ×ž×•×“×¨× ×™×ª ומהירה (×‘×™×¦×•×¢×™× ×’×‘×•×”×™×) ×œ×‘× ×™×™×ª ממשקי ×ª×›× ×•×ª ×™×™×©×•×ž×™× (API) ×¢× ×¤×™×™×ª×•×Ÿ 3.8+ בהתבסס על רמזי ×˜×™×¤×•×¡×™× ×¡×˜× ×“×¨×˜×™×™×. ×ª×›×•× ×•×ª המפתח הן: • מהירה: ×‘×™×¦×•×¢×™× ×’×‘×•×”×™× ×ž×וד, ×‘×§× ×” ×חד ×¢× NodeJS ו - Go (תודות ל - Starlette • ו - Pydantic). ×חת מתשתיות הפייתון המהירות ביותר. • מהירה ×œ×ª×›× ×•×ª: הגבירו ×ת מהירות פיתוח ×”×ª×›×•× ×•×ª החדשות בכ - %200 עד %300.* • פחות שגי×ות: ×ž× ×¢×• ×› - %40 משגי×ות ×× ×•×© (מפתחי×).* • ××™× ×˜×•×יטיבית: תמיכת עורך מעולה. השלמה בכל מקו×. פחות זמן × ×™×¤×•×™ שגי×ות. • קלה: ×ž×ª×•×›× × ×ª להיות קלה לשימוש וללמידה. פחות זמן קרי×ת תיעוד. • קצרה: מזערו שכפול קוד. מספר ×ª×›×•× ×•×ª מכל הכרזת פרמטר. פחות שגי×ות. • ×—×¡×•× ×”: קבלו קוד מוכן לסביבת ייצור. ×¢× ×ª×™×¢×•×“ ××™× ×˜×¨×§×˜×™×‘×™ ×וטומטי. • מבוססת ×¡×˜× ×“×¨×˜×™×: מבוססת על (ותו×מת לחלוטין ל -) ×”×¡×˜×“× ×¨×˜×™× ×”×¤×ª×•×—×™× ×œ×ž×ž×©×§×™ ×ª×›× ×•×ª יישומי×: OpenAPI (×™×“×•×¢×™× ×œ×©×¢×‘×¨ ×› - Swagger) ו - JSON Schema. * הערכה מבוססת על בדיקות של צוות פיתוח ×¤× ×™×ž×™ ×©×‘×•× ×” ×פליקציות בסביבת ייצור.} %global common_description_ja %{expand: FastAPI ã¯ã€Pythonã®æ¨™æº–ã§ã‚る型ヒントã«åŸºã¥ã„ã¦Python 3.8 以é™ã§API を構築ã™ã‚‹ãŸã‚ã®ã€ãƒ¢ãƒ€ãƒ³ã§ã€é«˜é€Ÿ(高パフォーマンス)ãªã€Web フレームワークã§ã™ã€‚ 主ãªç‰¹å¾´: - 高速: NodeJS ã‚„ Go 並ã¿ã®ã¨ã¦ã‚‚高ã„パフォーマンス (Starlette 㨠Pydantic ã®ãŠã‹ã’ã§ã™)。最も高速㪠Python フレームワークã®ä¸€ã¤ã§ã™ã€‚ - 高速ãªã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°: 開発速度を約 200%~300%å‘上ã•ã›ã¾ã™ã€‚ * - å°‘ãªã„ãƒã‚°: é–‹ç™ºè€…èµ·å› ã®ãƒ’ューマンエラーを約 40%削減ã—ã¾ã™ã€‚ * - ç›´æ„Ÿçš„: ç´ æ™´ã‚‰ã—ã„エディタã®ã‚µãƒãƒ¼ãƒˆã‚„ オートコンプリート。 デãƒãƒƒã‚°æ™‚間を削減ã—ã¾ã™ã€‚ - ç°¡å˜: ç°¡å˜ã«åˆ©ç”¨ã€ç¿’å¾—ã§ãるよã†ã«ãƒ‡ã‚¶ã‚¤ãƒ³ã•ã‚Œã¦ã„ã¾ã™ã€‚ ドã‚ュメントをèªã‚€æ™‚間を削減ã—ã¾ã™ã€‚ - çŸã„: コードã®é‡è¤‡ã‚’最å°é™ã«ã—ã¦ã„ã¾ã™ã€‚ å„パラメータã‹ã‚‰ã®è¤‡æ•°ã®æ©Ÿèƒ½ã€‚å°‘ãªã„ãƒã‚°ã€‚ - å …ç‰¢æ€§: 自動対話ドã‚ュメントを使用ã—ã¦ã€æœ¬ç•ªç’°å¢ƒã§ä½¿ç”¨ã§ãるコードをå–å¾—ã—ã¾ã™ã€‚ - Standards-based: API ã®ã‚ªãƒ¼ãƒ—ンスタンダードã«åŸºã¥ã„ã¦ãŠã‚Šã€å®Œå…¨ã«äº’æ›æ€§ãŒã‚ã‚Šã¾ã™: OpenAPI (以å‰ã¯ Swagger ã¨ã—ã¦çŸ¥ã‚‰ã‚Œã¦ã„ã¾ã—ãŸ) ã‚„ JSON スã‚ーマ. * 本番アプリケーションを構築ã—ã¦ã„る開発ãƒãƒ¼ãƒ ã®ãƒ†ã‚¹ãƒˆã«ã‚ˆã‚‹è¦‹ç©ã‚‚り。} %global common_description_hu %{expand: A FastAPI egy modern, gyors (nagy teljesÃtményű), webes keretrendszer API-ok épÃtéséhez Python 3.8+-al, a Python szabványos tÃpusjelöléseire épÃtve. Kulcs funkciók: • Gyors: Nagyon nagy teljesÃtmény, a NodeJS-el és a Go-val egyenrangú (a Starlettenek és a Pydantic-nek köszönhetÅ‘en). Az egyik leggyorsabb Python keretrendszer. • Gyorsan kódolható: A funkciók fejlesztési sebességét 200-300 százalékkal megnöveli. * • Kevesebb hiba: Körülbelül 40%-al csökkenti az emberi (fejlesztÅ‘i) hibák számát. * • IntuitÃv: Kiváló szerkesztÅ‘ támogatás. KiegészÃtés mindenhol. Kevesebb hibakereséssel töltött idÅ‘. • Egyszerű: Egyszerű tanulásra és használatra tervezve. Kevesebb dokumentáció olvasással töltött idÅ‘. • Rövid: Kód duplikáció minimalizálása. Több funkció minden paraméter deklarálásával. Kevesebb hiba. • Robosztus: Production ready kód. Automatikus interaktÃv dokumentáció val. • Szabvány alapú: Az API-ok nyÃlt szabványaira alapuló (és azokkal teljesen kompatibilis): OpenAPI (korábban Swagger néven ismert) és a JSON Schema. * Egy production alkalmazásokat épÃtÅ‘ belsÅ‘ fejlesztÅ‘i csapat tesztjein alapuló becslés.} %global common_description_ko %{expand: FastAPI는 현대ì ì´ê³ , ë¹ ë¥´ë©°(ê³ ì„±ëŠ¥), 파ì´ì¬ 표준 타입 ížŒíŠ¸ì— ê¸°ì´ˆí•œ Python3.8+ì˜ API를 빌드하기 위한 웹 í”„ë ˆìž„ì›Œí¬ìž…니다. 주요 특징으로: • ë¹ ë¦„: (Starletteê³¼ Pydantic ë•ë¶„ì—) NodeJS ë° Go와 ëŒ€ë“±í• ì •ë„ë¡œ 매우 ë†’ì€ ì„±ëŠ¥. 사용 가능한 가장 ë¹ ë¥¸ 파ì´ì¬ í”„ë ˆìž„ì›Œí¬ ì¤‘ 하나. • ë¹ ë¥¸ 코드 작성: 약 200%ì—ì„œ 300%까지 기능 개발 ì†ë„ ì¦ê°€.* • ì ì€ ë²„ê·¸: 사람(개발ìž)ì— ì˜í•œ ì—러 약 40% ê°ì†Œ.* • ì§ê´€ì : 훌ë¥í•œ 편집기 지ì›. ëª¨ë“ ê³³ì—ì„œ ìžë™ì™„성. ì ì€ ë””ë²„ê¹… 시간. • 쉬움: 쉽게 ì‚¬ìš©í•˜ê³ ë°°ìš°ë„ë¡ ì„¤ê³„. ì ì€ ë¬¸ì„œ ì½ê¸° 시간. • 짧ìŒ: 코드 중복 최소화. ê° ë§¤ê°œë³€ìˆ˜ ì„ ì–¸ì˜ ì—¬ëŸ¬ 기능. ì ì€ ë²„ê·¸. • ê²¬ê³ í•¨: ì¤€ë¹„ëœ í”„ë¡œë•ì…˜ ìš© 코드를 얻으ì‹ì‹œì˜¤. ìžë™ 대화형 문서와 함께. • 표준 기반: APIì— ëŒ€í•œ (ì™„ì „ížˆ 호환ë˜ëŠ”) 개방형 표준 기반: OpenAPI (ì´ì „ì— Swaggerë¡œ ì•Œë ¤ì¡Œë˜) ë° JSON 스키마. * 내부 ê°œë°œíŒ€ì˜ í”„ë¡œë•ì…˜ ì• í”Œë¦¬ì¼€ì´ì…˜ì„ 빌드한 í…ŒìŠ¤íŠ¸ì— ê·¼ê±°í•œ ì¸¡ì •} %global common_description_pl %{expand: FastAPI to nowoczesny, wydajny framework webowy do budowania API z użyciem Pythona 3.8+ bazujÄ…cy na standardowym typowaniu Pythona. Kluczowe cechy: • Wydajność: FastAPI jest bardzo wydajny, na równi z NodeJS oraz Go (dziÄ™ki Starlette i Pydantic). Jeden z najszybszych dostÄ™pnych frameworków Pythonowych. • Szybkość kodowania: PrzyÅ›piesza szybkość pisania nowych funkcjonalnoÅ›ci o okoÅ‚o 200% do 300%.* • Mniejsza ilość bÅ‚Ä™dów: Zmniejsza ilość ludzkich (dewelopera) bÅ‚Ä™dy o okoÅ‚o 40%.* • Intuicyjność: WspaniaÅ‚e wsparcie dla edytorów kodu. DostÄ™pne wszÄ™dzie automatyczne uzupeÅ‚nianie kodu. Krótszy czas debugowania. • Åatwość: Zaprojektowany by być prosty i Å‚atwy do nauczenia. Mniej czasu spÄ™dzonego na czytanie dokumentacji. • Kompaktowość: Minimalizacja powtarzajÄ…cego siÄ™ kodu. Wiele funkcjonalnoÅ›ci dla każdej deklaracji parametru. Mniej bÅ‚Ä™dów. • Solidność: Kod gotowy dla Å›rodowiska produkcyjnego. Wraz z automatycznÄ… interaktywnÄ… dokumentacjÄ…. • BazujÄ…cy na standardach: Oparty na (i w peÅ‚ni kompatybilny z) otwartych standardach API: OpenAPI (wczeÅ›niej znane jako Swagger) oraz JSON Schema. * oszacowania bazowane na testach wykonanych przez wewnÄ™trzny zespół deweloperów, budujÄ…cych aplikacie używane na Å›rodowisku produkcyjnym.} %global common_description_pt %{expand: FastAPI é um moderno e rápido (alta performance) framework web para construção de APIs com Python 3.8 ou superior, baseado nos type hints padrões do Python. Os recursos chave são: • Rápido: alta performance, equivalente a NodeJS e Go (graças ao Starlette e Pydantic). Um dos frameworks mais rápidos disponÃveis. • Rápido para codar: Aumenta a velocidade para desenvolver recursos entre 200% a 300%.* • Poucos bugs: Reduz cerca de 40% de erros induzidos por humanos (desenvolvedores).* • Intuitivo: Grande suporte a IDEs. Auto-Complete em todos os lugares. Menos tempo debugando. • Fácil: Projetado para ser fácil de aprender e usar. Menos tempo lendo documentação. • Enxuto: Minimize duplicação de código. Múltiplos recursos para cada declaração de parâmetro. Menos bugs. • Robusto: Tenha código pronto para produção. E com documentação interativa automática. • Baseado em padrões: Baseado em (e totalmente compatÃvel com) os padrões abertos para APIs: OpenAPI (anteriormente conhecido como Swagger) e JSON Schema. * estimativas baseadas em testes realizados com equipe interna de desenvolvimento, construindo aplicações em produção.} %global common_description_ru %{expand: FastAPI — Ñто Ñовременный, быÑтрый (выÑокопроизводительный) веб-фреймворк Ð´Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ API иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Python 3.8+, в оÑнове которого лежит ÑÑ‚Ð°Ð½Ð´Ð°Ñ€Ñ‚Ð½Ð°Ñ Ð°Ð½Ð½Ð¾Ñ‚Ð°Ñ†Ð¸Ñ Ñ‚Ð¸Ð¿Ð¾Ð² Python. Ключевые оÑобенноÑти: • СкороÑÑ‚ÑŒ: Очень выÑÐ¾ÐºÐ°Ñ Ð¿Ñ€Ð¾Ð¸Ð·Ð²Ð¾Ð´Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾ÑÑ‚ÑŒ, на уровне NodeJS и Go (Ð±Ð»Ð°Ð³Ð¾Ð´Ð°Ñ€Ñ Starlette и Pydantic). Один из Ñамых быÑтрых фреймворков Python. • БыÑтрота разработки: Увеличьте ÑкороÑÑ‚ÑŒ разработки примерно на 200–300%.* • Меньше ошибок: Сократите примерно на 40% количеÑтво ошибок, вызванных человеком (разработчиком).* • Интуитивно понÑтный: ÐžÑ‚Ð»Ð¸Ñ‡Ð½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° редактора. Ðвтозавершение везде. Меньше времени на отладку. • ЛёгкоÑÑ‚ÑŒ: Разработан так, чтобы его было легко иÑпользовать и оÑваивать. Меньше времени на чтение документации. • КраткоÑÑ‚ÑŒ: Сведите к минимуму дублирование кода. Каждый объÑвленный параметр - определÑет неÑколько функций. Меньше ошибок. • ÐадежноÑÑ‚ÑŒ: Получите готовый к работе код. С автоматичеÑкой интерактивной документацией. • Ðа оÑнове Ñтандартов: ОÑнован на открытых Ñтандартах API и полноÑтью ÑовмеÑтим Ñ Ð½Ð¸Ð¼Ð¸: OpenAPI (ранее извеÑтном как Swagger) и JSON Schema. * оценка на оÑнове теÑтов внутренней команды разработчиков, Ñоздающих производÑтвенные приложениÑ.} %global common_description_tr %{expand: FastAPI, Python 3.8+'nin standart tip belirteçlerine dayalı, modern ve hızlı (yüksek performanslı) API'lar oluÅŸturmak için kullanılabilecek web framework'tür. Temel özellikleri ÅŸunlardır: • Hızlı: Çok yüksek performanslı, NodeJS ve Go ile eÅŸit düzeyde (Starlette ve Pydantic sayesinde). En hızlı Python framework'lerinden bir tanesidir. • Kodlaması Hızlı: GeliÅŸtirme hızını yaklaşık %200 ile %300 aralığında arttırır. * • Daha az hata: Ä°nsan (geliÅŸtirici) kaynaklı hataları yaklaşık %40 azaltır. * • Sezgisel: MuhteÅŸem bir editör desteÄŸi. Her yerde otomatik tamamlama. Hata ayıklama ile daha az zaman harcayacaksınız. • Kolay: Öğrenmesi ve kullanması kolay olacak ÅŸekilde tasarlandı. Doküman okuma ile daha az zaman harcayacaksınız. • Kısa: Kod tekrarı minimize edildi. Her parametre tanımlamasında birden fazla özellik ve daha az hatayla karşılaÅŸacaksınız. • Güçlü: Otomatik ve etkileÅŸimli dokümantasyon ile birlikte, kullanıma hazır kod elde edebilirsiniz. • Standard öncelikli: API'lar için açık standartlara dayalı (ve tamamen uyumlu); OpenAPI (eski adıyla Swagger) ve JSON Schema. * ilgili kanılar, dahili geliÅŸtirme ekibinin geliÅŸtirdikleri ürünlere yaptıkları testlere dayanmaktadır.} %global common_description_uk %{expand: FastAPI - це ÑучаÑний, швидкий (виÑокопродуктивний), вебфреймворк Ð´Ð»Ñ ÑÑ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ API за допомогою Python 3.8+,в оÑнові Ñкого лежить Ñтандартна Ð°Ð½Ð¾Ñ‚Ð°Ñ†Ñ–Ñ Ñ‚Ð¸Ð¿Ñ–Ð² Python. Ключові оÑобливоÑÑ‚Ñ–: • Швидкий: Дуже виÑока продуктивніÑÑ‚ÑŒ, на рівні з NodeJS та Go (завдÑки Starlette та Pydantic). [Один із найшвидших фреймворків](#performance). • Швидке напиÑÐ°Ð½Ð½Ñ ÐºÐ¾Ð´Ñƒ: Пришвидшує розробку функціоналу приблизно на 200%-300%. * • Менше помилок: Зменшить кількіÑÑ‚ÑŒ помилок Ñпричинених людиною (розробником) на 40%. * • Інтуїтивний: Чудова підтримка редакторами коду. Ð”Ð¾Ð¿Ð¾Ð²Ð½ÐµÐ½Ð½Ñ Ð²Ñюди. Зменште Ñ‡Ð°Ñ Ð½Ð° налагодженнÑ. • ПроÑтий: Спроектований, Ð´Ð»Ñ Ð»ÐµÐ³ÐºÐ¾Ð³Ð¾ викориÑÑ‚Ð°Ð½Ð½Ñ Ñ‚Ð° навчаннÑ. ЗнадобитьÑÑ Ð¼ÐµÐ½ÑˆÐµ чаÑу на Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð´Ð¾ÐºÑƒÐ¼ÐµÐ½Ñ‚Ð°Ñ†Ñ–Ñ—. • Короткий: Зведе до мінімуму Ð´ÑƒÐ±Ð»ÑŽÐ²Ð°Ð½Ð½Ñ ÐºÐ¾Ð´Ñƒ. Кожен оголошений параметр може виконувати кілька функцій. • Ðадійний: Ви матимете Ñтабільний код готовий до продакшину з автоматичною інтерактивною документацією. • Стандартизований: ОÑнований та повніÑÑ‚ÑŽ ÑуміÑний з відкритими Ñтандартами Ð´Ð»Ñ API: OpenAPI (попередньо відомий Ñк Swagger) та JSON Schema. * оцінка на оÑнові теÑтів внутрішньої команди розробників, ÑÑ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ð¿Ñ€Ð¾Ð´ÑƒÐºÑ‚Ð¾Ð²Ð¸Ñ… заÑтоÑунків.} %global common_description_yo %{expand: FastAPI jáº¹Ì Ã¬gbà lódé, tà ó yára (iṣẹ-giga), ìlà nà wẹÌẹÌbù fún kiká» Ã wá»n API pẹ̀lú Python 3.8+ èyà tà ó da lori à wá»n ìtá»Ìkasà à mì irúfáº¹Ì Python. Àwá»n ẹya pà tà kì ni: • Ó yára: Iṣẹ tà ó ga púpá»Ì€, tà ó wa ni ibamu pẹ̀lú NodeJS à ti Go (á»pẹ si Starlette à ti Pydantic). Ọkan nÃnú à wá»n ìlà nà Python ti o yára jùlá» ti o wa. • Ó yára láti kóòdù: O mu iyara pá» si láti ká» Ã wá»n ẹya tuntun kóòdù nipasẹ "Igba ìdá á»gá»Ìrùn-ún" (i.e. 200%) si "á»Ì€á»Ìdúrún ìdá á»gá»Ìrùn-ún" (i.e. 300%). * • Àìtá»Ì kékeré: O n din aá¹£iá¹£e ku bi á»gbon ìdá á»gá»Ìrùn-ún (i.e. 40%) ti eda eniyan (oá¹£iṣẹ kóòdù) fa. * • Ọgbá»Ìn à ti ìmá»Ì€: Atilẹyin olootu nla. ÃŒparà nibi gbogbo. Àkókò dÃẹ̀ nipa wÃwá ibi tà ìṣòro kóòdù wà . • Irá»run: A ká» kà ó le rá»run láti lo à ti láti kỠẹká» nÃnú rè. Ó máa fún á» nà à kókò dÃẹ̀ látı ka à ká»sÃlẹ. • Ó kúkurú nà kiká»: Ó dÃn à túnká» Ã ti à túntò kóòdù kù. ÃŒkéde à ṣà yà n ká»Ì€á»Ì€kan nÃnú rẹ̀ nà á»Ì€pá»Ì€lá»pá»Ì€ à wá»n ìlò. O á¹£e iranlá»wá» láti má á¹£e nà á»Ì€pá»Ì€lá»pá»Ì€ à ṣìṣe. • Ó lágbára: Ó Å„ á¹£e à gbéjáde kóòdù tà ó á¹£etán fún ìṣelá»Ìpá»Ì€. Pẹ̀lú à ká»sÃlẹ̀ tà ó máa ṣà là yé ara rẹ̀ fún ẹ nà ìbáṣepá»Ì€ aládà áṣiá¹£áº¹Ì pẹ̀lú rè. • AjohunÅ¡e/ÃŒtá»ÌkasÃ: Ó da lori (à ti ibamu ni kikun pẹ̀lú) à wá»n ìmá» ajohunÅ¡e/ìtá»Ìkasà fún à wá»n API: OpenAPI (èyà tà a má» tẹlẹ si Swagger) à ti JSON Schema. * iá¹£iro yi da lori à wá»n idanwo tà ẹgbẹ ìdà gbà sókè FastAPI á¹£e, nÃgbà tà wá»n ká» Ã wá»n ohun elo iá¹£elá»pá» kóòdù pẹ̀lú rẹ.} %global common_description_zh %{expand: FastAPI 是一个用于构建 API 的现代ã€å¿«é€Ÿï¼ˆé«˜æ€§èƒ½ï¼‰çš„ web 框架,使用 Python 3.8+ å¹¶åŸºäºŽæ ‡å‡†çš„ Python 类型æ示。 关键特性: • 快速:å¯ä¸Ž NodeJS å’Œ Go 比肩的æžé«˜æ€§èƒ½ï¼ˆå½’功于 Starlette å’Œ Pydantic)。 最快的 Python web 框架之一。 • 高效编ç :æ高功能开å‘速度约 200ï¼… 至 300%。* • æ›´å°‘ bug:å‡å°‘约 40ï¼… 的人为(开å‘者)导致错误。* • 智能:æžä½³çš„编辑器支æŒã€‚处处皆å¯è‡ªåŠ¨è¡¥å…¨ï¼Œå‡å°‘调试时间。 • 简å•ï¼šè®¾è®¡çš„易于使用和å¦ä¹ ,阅读文档的时间更çŸã€‚ • 简çŸï¼šä½¿ä»£ç é‡å¤æœ€å°åŒ–。通过ä¸åŒçš„å‚数声明实现丰富功能。bug 更少。 • å¥å£®ï¼šç”Ÿäº§å¯ç”¨çº§åˆ«çš„代ç 。还有自动生æˆçš„交互å¼æ–‡æ¡£ã€‚ • æ ‡å‡†åŒ–ï¼šåŸºäºŽï¼ˆå¹¶å®Œå…¨å…¼å®¹ï¼‰API çš„ç›¸å…³å¼€æ”¾æ ‡å‡†ï¼šOpenAPI (以å‰è¢«ç§°ä¸º Swagger) å’Œ JSON Schema。 * æ ¹æ®å¯¹æŸä¸ªæž„建线上应用的内部开å‘团队所进行的测试估算得出。} %description %{common_description_en} %description -l bn %{common_description_bn} %description -l de %{common_description_de} %description -l en %{common_description_en} %description -l es %{common_description_es} %description -l fr %{common_description_fr} %description -l he %{common_description_he} %description -l hu %{common_description_hu} %description -l ja %{common_description_ja} %description -l ko %{common_description_ko} %description -l pl %{common_description_pl} %description -l pt %{common_description_pt} %description -l ru %{common_description_ru} %description -l tr %{common_description_tr} %description -l uk %{common_description_uk} %description -l yo %{common_description_yo} %description -l zh %{common_description_zh} %package -n python3-fastapi Summary: %{sum_en} Summary(bn): %{sum_bn} Summary(de): %{sum_de} Summary(en): %{sum_en} Summary(es): %{sum_es} Summary(fr): %{sum_fr} Summary(he): %{sum_he} Summary(hu): %{sum_hu} Summary(ja): %{sum_ja} Summary(ko): %{sum_ko} Summary(pl): %{sum_pl} Summary(pt): %{sum_pt} Summary(ru): %{sum_ru} Summary(tr): %{sum_tr} Summary(uk): %{sum_uk} Summary(yo): %{sum_yo} Summary(zh): %{sum_zh} # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_package Requires: python3-fastapi-slim = %{version}-%{release} %description -n python3-fastapi %{common_description_en} %description -n python3-fastapi -l bn %{common_description_bn} %description -n python3-fastapi -l de %{common_description_de} %description -n python3-fastapi -l en %{common_description_en} %description -n python3-fastapi -l es %{common_description_es} %description -n python3-fastapi -l fr %{common_description_fr} %description -n python3-fastapi -l he %{common_description_he} %description -n python3-fastapi -l hu %{common_description_hu} %description -n python3-fastapi -l ja %{common_description_ja} %description -n python3-fastapi -l ko %{common_description_ko} %description -n python3-fastapi -l pl %{common_description_pl} %description -n python3-fastapi -l pt %{common_description_pt} %description -n python3-fastapi -l ru %{common_description_ru} %description -n python3-fastapi -l tr %{common_description_tr} %description -n python3-fastapi -l uk %{common_description_uk} %description -n python3-fastapi -l yo %{common_description_yo} %description -n python3-fastapi -l zh %{common_description_zh} %pyproject_extras_subpkg -n python3-fastapi -i %{python3_sitelib}/fastapi-%{version}.dist-info all %package -n python3-fastapi-slim Summary: %{sum_en} Summary(bn): %{sum_bn} Summary(de): %{sum_de} Summary(en): %{sum_en} Summary(es): %{sum_es} Summary(fr): %{sum_fr} Summary(he): %{sum_he} Summary(hu): %{sum_hu} Summary(ja): %{sum_ja} Summary(ko): %{sum_ko} Summary(pl): %{sum_pl} Summary(pt): %{sum_pt} Summary(ru): %{sum_ru} Summary(tr): %{sum_tr} Summary(uk): %{sum_uk} Summary(yo): %{sum_yo} Summary(zh): %{sum_zh} %description -n python3-fastapi-slim %{common_description_en} %description -n python3-fastapi-slim -l bn %{common_description_bn} %description -n python3-fastapi-slim -l de %{common_description_de} %description -n python3-fastapi-slim -l en %{common_description_en} %description -n python3-fastapi-slim -l es %{common_description_es} %description -n python3-fastapi-slim -l fr %{common_description_fr} %description -n python3-fastapi-slim -l he %{common_description_he} %description -n python3-fastapi-slim -l hu %{common_description_hu} %description -n python3-fastapi-slim -l ja %{common_description_ja} %description -n python3-fastapi-slim -l ko %{common_description_ko} %description -n python3-fastapi-slim -l pl %{common_description_pl} %description -n python3-fastapi-slim -l pt %{common_description_pt} %description -n python3-fastapi-slim -l ru %{common_description_ru} %description -n python3-fastapi-slim -l tr %{common_description_tr} %description -n python3-fastapi-slim -l uk %{common_description_uk} %description -n python3-fastapi-slim -l yo %{common_description_yo} %description -n python3-fastapi-slim -l zh %{common_description_zh} %pyproject_extras_subpkg -n python3-fastapi-slim -i %{python3_sitelib}/fastapi_slim-%{version}.dist-info standard all %prep %autosetup -n fastapi-%{version} -p1 %if %{with bootstrap} # Break a dependency cycle with fastapi-cli by commenting out all dependencies # on it. Note that this removes it from the “standard†and “all†extra # metapackages. sed -r -i 's/("fastapi-cli(-slim)?\b.*",)/# \1/' pyproject.toml %endif %if %{without orjson} # Comment out all dependencies on orjson (for ORJSONResponse). Note that this # removes it from the “all†extra metapackage. sed -r -i 's/("orjson\b.*",)/# \1/' pyproject.toml %endif %if %{without uvicorn} # Comment out all dependencies on uvicorn. Note that this removes it from the # “all†extra metapackage. sed -r -i 's/("uvicorn\b.*",)/# \1/' pyproject.toml %endif # Remove bundled js-termynal 0.0.1; since we are not building documentation, we # do this very bluntly: rm -rvf docs/*/docs/js docs/*/docs/css %generate_buildrequires export TIANGOLO_BUILD_PACKAGE='fastapi-slim' %pyproject_buildrequires -x standard,all ( export TIANGOLO_BUILD_PACKAGE='fastapi' %pyproject_buildrequires -x all ) | grep -vE '\bfastapi-slim\b' %build export TIANGOLO_BUILD_PACKAGE='fastapi-slim' %pyproject_wheel export TIANGOLO_BUILD_PACKAGE='fastapi' %pyproject_wheel %install %pyproject_install # Chaotically, both fastapi and fastapi-cli now provide a fastapi command. The # difference is # from fastapi.cli import main # versus # from fastapi_cli.cli import main # # If we try pip-installing fastapi into a virtualenv and running # fastapi --help # we get: # To use the fastapi command, please install "fastapi[standard]": # pip install "fastapi[standard]" # Traceback (most recent call last): # […] # # Then, if we pip-install fastapi[standard], that brings in fastapi-cli, so we # get the fastapi-cli version of the command. The same applies for fastapi-slim # and fastapi-slim[standard]. # # The only thing we can’t do in the RPM package, then, is to provide the “stub†# fastapi command that complains about the need to install fastapi[standard] # (because it would conflict with the command from the fastapi-cli package). # Otherwise, we should have the same behavior by only shipping a fastapi # command via the fastapi-cli package. rm '%{buildroot}%{_bindir}/fastapi' %check %if %{without orjson} k="${k-}${k+ and }not test_orjson_non_str_keys" ignore="${ignore-} --ignore=tests/test_default_response_class.py" ignore="${ignore-} --ignore=tests/test_tutorial/test_custom_response/test_tutorial001b.py" ignore="${ignore-} --ignore=tests/test_tutorial/test_custom_response/test_tutorial009c.py" %endif # These require python-pyjwt, which is not packaged. ignore="${ignore-} --ignore-glob=tests/test_tutorial/test_security/test_tutorial005*" %if %{without sqlmodel} ignore="${ignore-} --ignore-glob=tests/test_tutorial/test_sql_databases/test_tutorial001.py" ignore="${ignore-} --ignore-glob=tests/test_tutorial/test_sql_databases/test_tutorial002.py" %endif # Ignore all DeprecationWarning messages, as they pop up from various # dependencies in practice. Upstream deals with this by tightly controlling # dependency versions in CI. warningsfilter="${warningsfilter-} -W ignore::DeprecationWarning" # E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio # 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or # exceptiongroup.BaseExceptionGroup (earlier versions) instead # (https://github.com/python-trio/trio/issues/2211) warningsfilter="${warningsfilter-} -W ignore::trio.TrioDeprecationWarning" %if v"0%{?python3_version}" >= v"3.13" # Python 3.13.0b2: test_gzip_ignored_for_responses_with_encoding_set[trio] # fails with a ValueError: I/O operation on closed file # https://github.com/encode/starlette/issues/2615 warningsfilter="${warningsfilter-} -W ignore::pytest.PytestUnraisableExceptionWarning" # TODO: Report these upstream (i.e., create a “discussion†since upstreame uses # those to gatekeep creating actual issues) once dependencies support Python # 3.13 and we can reproduce them in a virtualenv. # _______________ ERROR collecting tests/test_callable_endpoint.py _______________ # […] # fastapi/routing.py:451: in __init__ # self.name = get_name(endpoint) if name is None else name # /usr/lib/python3.13/site-packages/starlette/routing.py:103: in get_name # return endpoint.__name__ # E AttributeError: 'functools.partial' object has no attribute '__name__'. Did you mean: '__ne__'? ignore="${ignore-} --ignore=tests/test_callable_endpoint.py" %endif %pytest ${warningsfilter-} -k "${k-}" ${ignore-} %files -n python3-fastapi %{python3_sitelib}/fastapi-%{version}.dist-info/ %files -n python3-fastapi-slim %license LICENSE %doc CITATION.cff %doc README.md %{python3_sitelib}/fastapi/ %{python3_sitelib}/fastapi_slim-%{version}.dist-info/ %changelog ## START: Generated by rpmautospec * Sun Nov 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.5-3 - Update tests and internals for compatibility with Pydantic >=2.10 * Tue Nov 19 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.5-2 - Enable tests that rely on python-sqlmodel, now packaged * Tue Nov 12 2024 Packit <hello@packit.dev> - 0.115.5-1 - Update to 0.115.5 upstream release - Resolves: rhbz#2325585 * Sun Oct 27 2024 Packit <hello@packit.dev> - 0.115.4-1 - Update to 0.115.4 upstream release - Resolves: rhbz#2322049 * Tue Oct 22 2024 Packit <hello@packit.dev> - 0.115.3-1 - Update to 0.115.3 upstream release - Resolves: rhbz#2321038 * Sat Oct 12 2024 Packit <hello@packit.dev> - 0.115.2-1 - Update to 0.115.2 upstream release - Resolves: rhbz#2318327 * Tue Sep 24 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.115.0-2 - Allow Starlette 0.39.x * Sat Sep 21 2024 Packit <hello@packit.dev> - 0.115.0-1 - Update to 0.115.0 upstream release - Resolves: rhbz#2312934 * Fri Sep 13 2024 Packit <hello@packit.dev> - 0.114.2-1 - Update to 0.114.2 upstream release - Resolves: rhbz#2312314 * Wed Sep 11 2024 Packit <hello@packit.dev> - 0.114.1-1 - Update to 0.114.1 upstream release - Resolves: rhbz#2311464 * Tue Sep 10 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.114.0-2 - Fix localized descriptions * Fri Sep 06 2024 Packit <hello@packit.dev> - 0.114.0-1 - Update to 0.114.0 upstream release - Resolves: rhbz#2310486 * Thu Sep 05 2024 Packit <hello@packit.dev> - 0.113.0-1 - Update to 0.113.0 upstream release - Resolves: rhbz#2310249 * Thu Sep 05 2024 Packit <hello@packit.dev> - 0.112.3-1 - Update to 0.112.3 upstream release - Resolves: rhbz#2310170 * Sat Aug 24 2024 Packit <hello@packit.dev> - 0.112.2-1 - Update to 0.112.2 upstream release - Resolves: rhbz#2307738 * Fri Aug 16 2024 Packit <hello@packit.dev> - 0.112.1-1 - Update to 0.112.1 upstream release - Resolves: rhbz#2305237 * Fri Aug 02 2024 Packit <hello@packit.dev> - 0.112.0-1 - Update to 0.112.0 upstream release - Resolves: rhbz#2302454 * Fri Aug 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.111.1-4 - Update URLs for new fastapi GitHub organization * Tue Jul 23 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.111.1-3 - Allow Starlette 0.38.x * Thu Jul 18 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.111.1-2 - Non-bootstrap build with fastapi-cli * Tue Jul 16 2024 Packit <hello@packit.dev> - 0.111.1-1 - Update to 0.111.1 upstream release - Resolves: rhbz#2278772 * Sun Jun 30 2024 Packit <hello@packit.dev> - 0.111.0-1 - Update to 0.111.0 upstream release (bootstrap without fastapi-cli) - Resolves: rhbz#2278772 * Sun Jun 30 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.110.3-3 - Ignore some Python 3.13 issues, mostly coming from Starlette, for now - Fixes RHBZ#2291697 * Tue Apr 30 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.110.3-2 - Allow testing with SQLAlchemy 2.x * Tue Apr 30 2024 Packit <hello@packit.dev> - 0.110.3-1 - Update to 0.110.3 upstream release - Resolves: rhbz#2277903 * Thu Apr 25 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.110.2-2 - Allow testing with anyio 4.x * Fri Apr 19 2024 Packit <hello@packit.dev> - 0.110.2-1 - Update to 0.110.2 upstream release - Resolves: rhbz#2276016 * Wed Apr 17 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.110.1-3 - Patch a test for Pydantic 2.7.0 * Tue Apr 16 2024 Lumir Balhar <lbalhar@redhat.com> - 0.110.1-2 - Unpin pytest version * Tue Apr 02 2024 Packit <hello@packit.dev> - 0.110.1-1 - [packit] 0.110.1 upstream release - Resolves: rhbz#2272590 * Sat Mar 30 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.110.0-3 - Patch out python-jose from the test dependencies - Skip tests that would have required it. * Sat Feb 24 2024 Packit <hello@packit.dev> - 0.110.0-1 - [packit] 0.110.0 upstream release - Resolves rhbz#2265857 * Fri Feb 09 2024 Packit <hello@packit.dev> - 0.109.2-1 - [packit] 0.109.2 upstream release - Resolves rhbz#2262507 * Fri Feb 09 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.109.1-2 - Restore i686 support * Thu Feb 08 2024 Packit <hello@packit.dev> - 0.109.1-1 - [packit] 0.109.1 upstream release - Resolves rhbz#2262507, resolves rhbz#2262844 * Mon Feb 05 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.109.0-4 - Allow testing with python-multipart 0.0.7 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.109.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.109.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.109.0-1 - Reapply "Update to 0.109.0 (close RHBZ#2257941)" * Thu Jan 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.108.0-1 - Revert "Update to 0.109.0 (close RHBZ#2257941)" * Thu Jan 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.109.0-1 - Update to 0.109.0 (close RHBZ#2257941) * Thu Jan 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0.108.0-2 - Allow testing with Flask 3 * Wed Dec 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.108.0-1 - Update to 0.108.0 (close RHBZ#2255844) * Wed Dec 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.106.0-1 - Update to 0.106.0 * Wed Dec 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.105.0-4 - Update to 0.106.0 * Sun Dec 17 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.105.0-2 - Assert that %%pyproject_files contains a license file * Tue Dec 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.105.0-1 - Update to 0.105.0 (close RHBZ#2254111) * Tue Nov 21 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.104.1-3 - Stop allowing Pydantic v1 * Wed Nov 15 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.104.1-2 - Assume that newer versions of httpx are OK for testing * Mon Oct 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.104.1-1 - Update to 0.104.1 (close RHBZ#2247004) * Fri Oct 20 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.104.0-1 - Update to 0.104.0 (close RHBZ#2244849) * Sun Oct 15 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.2-2 - Update patch for PR#5799, which was modified * Thu Sep 28 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.2-1 - Update to 0.103.2 (close RHBZ#2241250) * Tue Sep 26 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-7 - Re-enable the uvicorn dependency * Mon Sep 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-6 - Check the version of Pydantic to decide whether to patch dependencies * Wed Sep 20 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-5 - Fix FTBFS with python-dirty-equals-0.7.0 * Tue Sep 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-4 - F40+: Drop Obsoletes for -doc subpackage last present in F36 * Tue Sep 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-3 - Allow databases 0.8.x (fix RHBZ#2238440) * Sat Sep 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.1-1 - Update to 0.103.1 (close RHBZ#2237004) - Upstream added a Yoruba translation * Sat Sep 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.0-3 - Wrap long description lines * Sat Sep 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.0-2 - Fix Russian localized summary - Machine translation showed the text was a description, not a translation of “FastAPI framework†* Sat Aug 26 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.103.0-1 - Update to 0.103.0 (close RHBZ#2235118) * Sat Aug 26 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.102.0-1 - Update to 0.102.0 (close RHBZ#2234983) * Mon Aug 14 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.101.1-1 - Update to 0.101.1 (close RHBZ#2231832) * Sat Aug 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.101.0-1 - Update to 0.101.0 (close RHBZ#2229313) * Fri Jul 28 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.100.1-1 - Update to 0.100.1 (close RHBZ#2227091) * Tue Jul 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.100.0-3 - Restore the orjson dependency * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.100.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.100.0-1 - Update to 0.100.0 (close RHBZ#2213997) * Thu Jul 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.99.0-4 - Rebuild for Python 3.12 (close RHBZ#2220218) * Thu Jul 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.99.0-3 - Temporarily patch out the python-uvicorn dependency * Thu Jul 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.99.0-2 - Temporarily patch out the python-orjson dependency * Sat Jul 01 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.99.0-1 - Update to 0.99.0 * Wed Jun 28 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.98.0-2 - Allow email-validator 2.0.0 * Tue Jun 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.98.0-1 - Update to 0.98.0 * Thu Jun 22 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.97.0-1 - Update to 0.97.0 * Wed Jun 21 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.96.1-1 - Update to 0.96.1 * Tue Jun 06 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.96.0-1 - Update to 0.96.0 (close RHBZ#2212069) * Sat May 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.95.2-3 - Allow httpx 0.24.x for testing * Wed May 17 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.95.2-1 - Update to 0.95.2 (close RHBZ#2207700) * Thu Apr 13 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.95.1-1 - Update to 0.95.1 (close RHBZ#2186614) - Adds French translations to summary/description * Thu Apr 13 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.95.0-2 - Stop patching out the python-orjson dependency * Sun Mar 19 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.95.0-1 - Update to 0.95.0 (close RHBZ#2179576) * Wed Mar 15 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.94.1-1 - Update to 0.94.1 (close RHBZ#2177947) * Sat Mar 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.94.0-1 - Update to 0.94.0 (close RHBZ#2177313) * Wed Mar 08 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.93.0-1 - Update to 0.93.0 (close RHBZ#2176217) * Sat Mar 04 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.92.0-2 - Allow python-multipart 0.0.6 * Tue Feb 14 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.92.0-1 - Update to 0.92.0 (close RHBZ#2169669) * Fri Feb 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.91.0-1 - Update to 0.91.0 (close RHBZ#2168925) * Thu Feb 09 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.90.1-1 - Update to 0.90.1 * Wed Feb 08 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.90.0-2 - Bump Starlette from 0.23.0 to 0.23.1 * Wed Feb 08 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.90.0-1 - Update to 0.90.0 (close RHBZ#2168163) * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.89.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 17 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.89.1-2 - Update patch for upstream PR#5799 * Wed Jan 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.89.1-1 - Update to 0.89.1 (close RHBZ#2159775) * Sat Jan 07 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.89.0-2 - Commit patch for upstream PR#5799 * Sat Jan 07 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0.89.0-1 - Update to 0.89.0 (close RHBZ#2159007) * Wed Dec 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.88.0-4 - Leaf package: remove i686 support * Mon Dec 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.88.0-3 - Remove unused patch file * Sun Dec 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.88.0-2 - Require databases ≥0.7.0 for SQLAlchemy cursor fixes * Sun Nov 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.88.0-1 - Update to 0.88.0 (close RHBZ#2148730) * Thu Nov 17 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.87.0-2 - Patch for Starlette 0.22.0 * Mon Nov 14 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.87.0-1 - Update to 0.87.0 (close RHBZ#2142425) * Sun Nov 13 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.86.0-1 - Update to 0.86.0 (close RHBZ#2139966) * Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.2-2 - Updated patch for updated upstream PR#5471 * Tue Nov 01 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.2-1 - Update to 0.85.2 (close RHBZ#2138980) * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.1-2 - Update starlette to 0.21.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.1-1 - Update to 0.85.1 (close RHBZ#2107322, fix RHBZ#2113625) * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.0-2 - Drop some redundant doc files - Drop explicit “%%%%license LICENSEâ€; already handled by pyproject_files - Drop CONTRIBUTING.md; mostly for upstream development, and just a reference to a website anyway * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.85.0-1 - Update to 0.85.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.84.0-1 - Update to 0.84.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.83.0-1 - Update to 0.83.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.82.0-1 - Update to 0.82.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.81.0-1 - Update to 0.81.0 - Add new Russian summary and description from upstream - Ignore DeprecationWarning in general * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.80.0-1 - Update to 0.80.0 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.79.1-1 - Update to 0.79.1 * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.79.0-8 - Fix long description line * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.79.0-7 - Clarify that License is SPDX MIT * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.79.0-6 - For now, ignore ResourceWarning from file upload tests * Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.79.0-5 - Work around DeprecationWarning from passlib * Tue Jul 20 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.66.1-1 - Update to 0.66.1 (fixes RHBZ#1983796) * Fri Jul 09 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.66.0-1 - Update to 0.66.0 (fixes RHBZ#1978953) * Thu Jun 24 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.2-2 - Allow aiofiles 0.7 * Wed Jun 09 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.2-1 - Update to 0.65.2 (fixes RHBZ#1969758, fixes CVE-2021-32677) * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.65.1-5 - Rebuilt for Python 3.10 * Fri May 28 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.1-4 - Start successfully building the documentation (without typer-cli, and using the base mkdocs theme instead of mkdocs-material) * Tue May 25 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.1-3 - De-conditionalize databases[sqlite] BR * Fri May 14 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.1-2 - Add python-databases+sqlite BR where it is available * Thu May 13 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.1-1 - New upstream release 0.65.1 - Allow newer sqlalchemy dependency version than that pinned upstream * Mon May 10 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.65.0-1 - New upstream release 0.65.0 - Drop fastapi-0.63.0-pr-2335.patch, now upstream * Sat May 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.64.0-1 - New upstream release 0.64.0 - Fix Korean summary * Mon Apr 12 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-7 - Allow aiofiles 0.6.x: https://github.com/tiangolo/fastapi/pull/3075 * Tue Apr 06 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-6 - Do not use %%exclude for unpackaged files (RPM 4.17 compatibility) * Sat Mar 27 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-5 - Typo fix in js-termynal symbolic links * Thu Mar 25 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-4 - Improved source URL (better tarball name) * Tue Mar 16 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-3 - Use system js-termynal to replace the (removed) bundled copy - No longer need to work around missing python3dist(passlib[bcrypt]) on F35 - Fix typo in Summary(es) * Tue Mar 16 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-2 - Drop python3dist(setuptools) BR, redundant with %%pyproject_buildrequires * Sat Mar 06 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0.63.0-1 - New upstream version 0.63.0 - Whitespace changes - Drop obsolete %%python_provide macro - Comment out orjson dependencies in package metadata - Remove explicit/manual dependencies. This drops the hard dependency on uvicorn. - Use pyproject-rpm-macros for generated BR’s - Loosen all pinned dependencies - Fix starlette 0.14.x compatibility - Switch from PyPI tarball to GitHub tarball - Add a metapackage for the “all†extra (which is really all-but-orjson) - Add a separate -doc package; for now, we cannot build the HTML documentation, so we install the Markdown sources instead - Improved and localized summaries and descriptions from upstream * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.61.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Oct 7 00:24:09 -03 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.61.1-2 - add missing deps. * Wed Sep 30 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.61.1-1 - Initial package. - Fix license TAG. ## END: Generated by rpmautospec