Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 437f07e

Browse files
committed
Welcome 2024!
Update Doc Use Doc's requirements
1 parent e030887 commit 437f07e

File tree

491 files changed

+544
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

491 files changed

+544
-572
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: Tests
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
branches:
9-
- "**"
2+
on: [push, pull_request, workflow_dispatch]
103

114
jobs:
125
checks:
@@ -28,15 +21,14 @@ jobs:
2821
token: ${{ secrets.GITHUB_TOKEN }}
2922
- uses: actions/setup-python@v5
3023
with:
31-
python-version: "3.12-dev"
24+
python-version: "3.12"
3225
- name: Install ${{ matrix.tool.package }}
3326
run: |
3427
if [ -n "${{ matrix.tool.apt_dependencies }}" ]; then
3528
sudo apt-get update && sudo apt-get install -y ${{ matrix.tool.apt_dependencies }}
3629
fi
3730
if [ -n "${{ matrix.tool.package }}" ]; then
38-
python -m pip install --upgrade pip setuptools wheel
39-
python -m pip install ${{ matrix.tool.package }}
31+
pip install ${{ matrix.tool.package }}
4032
fi
4133
- name: Run ${{ matrix.tool.package }}
4234
env:
@@ -62,13 +54,12 @@ jobs:
6254
- uses: actions/checkout@v4
6355
- uses: actions/setup-python@v5
6456
with:
65-
python-version: "3.12-dev"
57+
python-version: "3.12"
6658
- name: Prepare environment
6759
run: |
6860
pwd
6961
tree -L 2
7062
git clone https://github.com/python/cpython.git venv/cpython/
71-
python -m pip install --upgrade pip setuptools wheel
72-
python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt
63+
pip install -r venv/cpython/Doc/requirements.txt
7364
- name: Make
7465
run: make

.github/workflows/pre-commit-ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
name: pre-commit-ci
2-
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
branches:
9-
- "**"
2+
on: [push, pull_request, workflow_dispatch]
103

114
jobs:
125
pre-commit:
@@ -17,11 +10,11 @@ jobs:
1710
- uses: actions/setup-python@v5
1811
id: setup_python
1912
with:
20-
python-version: "3.12-dev"
13+
python-version: "3.12"
2114
cache: pip
2215

2316
- name: Install pre-commit
24-
run: pip install --upgrade -r requirements.txt
17+
run: pip install pre-commit
2518

2619
- name: Cache pre-commit tools
2720
uses: actions/cache@v3

.github/workflows/translate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Set Up Python 3.12
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.12-dev"
19+
python-version: "3.12"
2020

2121
- name: Install dependencies
22-
run: pip install -r requirements.txt && sudo apt update && sudo apt install gettext -y
22+
run: pip install polib deep_translator && sudo apt update && sudo apt install gettext -y
2323

2424
- name: Run translate.py
2525
run: python scripts/translate.py ${{ github.event.inputs.file }} -t google -s

.github/workflows/update_doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Set Up Python 3.12
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.12-dev"
20+
python-version: "3.12"
2121

2222
- name: Install dependencies
23-
run: pip install -r requirements.txt && sudo apt install gettext -y
23+
run: pip install tqdm poutils -r venv/cpython/Doc/requirements.txt && sudo apt install gettext -y
2424

2525
- name: Run merge.py
2626
run: python merge.py ${GITHUB_REF##*/}

.github/workflows/wrap_branch.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ jobs:
1414
- name: Set Up Python 3.12
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.12-dev"
18-
19-
# Upgrade pip
20-
- name: Upgrade pip
21-
run: python -m pip install --upgrade pip
17+
python-version: "3.12"
2218

2319
# Install dependencies
2420
- name: Install dependencies
25-
run: python -m pip install --upgrade -r requirements.txt && sudo apt install -y gettext
21+
run: pip install poutils && sudo apt install -y gettext
2622

2723
# Wrap all po files
2824
- name: Wrap

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ build:
1010

1111
commands:
1212
- git clone https://github.com/python/cpython.git venv/cpython/
13-
- python -m pip install --upgrade pip setuptools wheel
14-
- python -m pip install --upgrade -r requirements.txt -r venv/cpython/Doc/requirements.txt
13+
- python -m pip install -r venv/cpython/Doc/requirements.txt
1514
- make
1615
- mkdir -p _readthedocs/html/
1716
- cp -r venv/cpython/Doc/build/html/* _readthedocs/html/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ ensure_prerequisites: venv/cpython/.git/HEAD
8686
git -C venv/cpython/ checkout $(BRANCH); \
8787
echo "You're missing dependencies please install:"; \
8888
echo ""; \
89-
echo " python -m pip install -r requirements.txt -r venv/cpython/Doc/requirements.txt"; \
89+
echo " python -m pip install -r venv/cpython/Doc/requirements.txt"; \
9090
exit 1; \
9191
fi
9292

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Bu proje gönüllü çevirmenler ve python-docs-tr ekibi iş birliğinde sürdü
3737
- Örneğin, ``library/functions.po`` dosyasını çevirmek istiyorsanız, ``library-functions`` adında bir branch oluşturun.
3838
- ``git checkout -b library-functions``
3939
4. Gerekli paketleri yükleyin.
40-
- ``python -m pip install --upgrade -r requirements.txt``
40+
- ``python -m pip install --upgrade -r requirements-dev.txt``
4141
5. Syntax hatalarını commit öncesi otomatik kontrol eden ``pre-commit`` 'i kurun.
4242
- ``pre-commit install``
4343

about.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: about.rst:3
2121
msgid "About these documents"
22-
msgstr "Dokümanlar hakkında"
22+
msgstr "Bu dokümanlar hakkında"
2323

2424
#: about.rst:6
2525
msgid ""
@@ -81,13 +81,14 @@ msgid ""
8181
"Python source distribution for a partial list of contributors."
8282
msgstr ""
8383
"Birçok kişi Python diline, Python standart kütüphanesine ve Python "
84-
"belgelerine katkıda bulunmuştur. Katkıda bulunanların kısmi listesi için "
85-
"Python kaynak dağıtımında :source:`Misc/ACKS` adresine bakın."
84+
"dokümantasyonuna katkıda bulunmuştur. Katkıda bulunanların kısmi bir "
85+
"listesi için Python kaynak dağıtımında :source:`Misc/ACKS` dosyasına "
86+
"bakın."
8687

8788
#: about.rst:37
8889
msgid ""
8990
"It is only with the input and contributions of the Python community that "
9091
"Python has such wonderful documentation -- Thank You!"
9192
msgstr ""
92-
"Python topluluğunun girdileri ve katkılarıyla Python böyle harika bir "
93-
"dokümantasyona sahip -- Teşekkürler!"
93+
"Python topluluğunun girdileri ve katkıları sayesinde böyle harika bir "
94+
"dokümantasyona sahibiz -- Teşekkürler!"

bugs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""

c-api/abstract.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/allocation.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/apiabiversion.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/arg.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/bool.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/buffer.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/bytearray.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/bytes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/call.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/capsule.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/cell.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/code.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/codec.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/complex.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/concrete.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/contextvars.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/conversion.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/coro.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/datetime.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/descriptor.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/dict.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/exceptions.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/file.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/float.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/frame.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/function.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/gcsupport.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/gen.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/import.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
#, fuzzy

c-api/index.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python Documentation Turkish Translation
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
msgid ""

0 commit comments

Comments
 (0)