Skip to content

Commit f42aac9

Browse files
authored
Merge pull request #23 from 15r10nk/3.13
3.13
2 parents 9a2cf34 + 21fe48a commit f42aac9

File tree

31 files changed

+1348
-94
lines changed

31 files changed

+1348
-94
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-python@v4
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
28+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
2929
steps:
3030
- uses: actions/checkout@v3
3131
- uses: actions/setup-python@v4

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
- hooks:
33
- id: check-yaml
4-
- id: check-ast
4+
# - id: check-ast
55
- id: check-docstring-first
66
- id: check-merge-conflict
77
- id: trailing-whitespace

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@
147147

148148
### Fix
149149

150-
- changed propabilities to generate more expressions
150+
- changed probabilities to generate more expressions

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,27 @@ find_issue()
8484

8585
### cpython
8686

87+
#### 3.12
8788
* https://github.com/python/cpython/issues/109219
8889
* https://github.com/python/cpython/issues/109823
8990
* https://github.com/python/cpython/issues/109719
9091
* https://github.com/python/cpython/issues/109627
9192
* https://github.com/python/cpython/issues/109219
9293
* https://github.com/python/cpython/issues/109118
9394
* https://github.com/python/cpython/issues/109114
95+
* https://github.com/python/cpython/issues/109889
96+
97+
#### 3.13
98+
* https://github.com/python/cpython/issues/120367
99+
* https://github.com/python/cpython/issues/120225
100+
* https://github.com/python/cpython/issues/124746
101+
* https://github.com/python/cpython/issues/124871
94102

95103
## Todo:
96104

97105
* [ ] refactor the existing code
106+
* add better context information to `probability()`
107+
* remove `fix()` function and move code into `probability()`
98108
* [ ] use probabilities for the ast-nodes from existing python code (use markov chains)
99109
* [x] support older python versions
100110
* [ ] allow to customize the probabilities to generate code to test specific language features

poetry.lock

+597
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ classifiers = [
2121
"Programming Language :: Python :: 3.10",
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
2425
"Programming Language :: Python :: Implementation :: CPython",
2526
"Programming Language :: Python :: Implementation :: PyPy",
27+
"License :: OSI Approved :: MIT License",
2628
]
2729
dependencies = [
2830
"astunparse >=1.6.3; python_version<'3.9' ",
@@ -37,6 +39,9 @@ Source = "https://github.com/15r10nk/pysource-codegen"
3739
[tool.hatch.version]
3840
path = "src/pysource_codegen/__init__.py"
3941

42+
[[tool.hatch.envs.hatch-test.matrix]]
43+
python=["3.8","3.9","3.10","3.11","3.12","3.13"]
44+
4045
[tool.hatch.envs.hatch-test]
4146
extra-dependencies=[
4247
"rich>=12.0.0",
@@ -45,7 +50,7 @@ extra-dependencies=[
4550
]
4651

4752
[[tool.hatch.envs.types.matrix]]
48-
python=["3.8","3.9","3.10","3.11","3.12"]
53+
python=["3.8","3.9","3.10","3.11","3.12","3.13"]
4954

5055
[tool.hatch.envs.types]
5156
extra-dependencies = [

0 commit comments

Comments
 (0)