A5rocks
baa3c90d85
Load newest grammar in face of a future grammar
2025-08-22 23:35:46 +09:00
A5rocks
23b1cdf73d
Drop Python 3.7 in CI
...
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
Update some versions in various places (#233 )
2025-08-22 14:03:23 +00:00
Dave Halter
a73af5c709
Fix pip install -e in docs
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
2025-06-24 12:29:39 +02:00
Jon Crall
9328cffce3
Update classifiers in setup.py ( #230 )
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
2025-03-10 22:13:22 +00:00
Thomas A Caswell
f670e6e7dc
ENH: add grammar file for py314 ( #229 )
...
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
Following #78 and #220 copied the py313 grammar file.
2024-12-27 10:18:25 +00:00
dheeraj
338a576027
Updated readme installation documentation, now we can copy it easier ( #228 )
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
2024-11-24 14:31:05 +00:00
Dave Halter
9ddffca4da
Merge pull request #227 from juliangilbey/python3.13-test-fixes
...
Build / lint (push) Has been cancelled
Build / test (false, 3.10) (push) Has been cancelled
Build / test (false, 3.11) (push) Has been cancelled
Build / test (false, 3.12) (push) Has been cancelled
Build / test (false, 3.13) (push) Has been cancelled
Build / test (false, 3.7) (push) Has been cancelled
Build / test (false, 3.8) (push) Has been cancelled
Build / test (false, 3.9) (push) Has been cancelled
Build / coverage (push) Has been cancelled
Fix tests so they work with Python 3.12/3.13
2024-11-22 19:52:17 +00:00
Julian Gilbey
06db036e23
Conditionally include failing examples rather than handle them in the testing code
2024-11-22 11:40:13 +00:00
Julian Gilbey
c792ae546c
Add Python 3.12 and 3.13 to test matrix
2024-11-22 09:44:49 +00:00
Julian Gilbey
1c01dafc2b
Fix tests so they work with Python 3.12/3.13
2024-11-21 09:50:06 +00:00
Dave Halter
1ca6b1f3e8
Merge pull request #225 from nilbest/fix-malicious-link-224
...
Fix #224 : Remove Potential Malicious Link in Parso's Acknowledgement README.rst
2024-06-27 13:05:02 +00:00
Nils Bestehorn
5a9349ae58
Deleted 'Salome Schneider' Link to suspicious side
2024-06-27 12:26:23 +02:00
Dave Halter
279fd6903e
Add a readthedocs config file
2024-04-21 10:50:21 +02:00
Dave Halter
e255b69cb8
Add a security policy
2024-04-21 10:38:28 +02:00
Dave Halter
744f2ac39e
Prepare 0.8.4
v0.8.4
2024-04-05 10:43:56 +02:00
Dave Halter
3c04eef132
Merge pull request #220 from tacaswell/py313
...
ENH: add grammar file from py313
2023-06-18 23:54:47 +00:00
Thomas A Caswell
f7bea28bcc
ENH: add grammar file from py313
...
Following https://github.com/davidhalter/parso/pull/78 copied the py312
grammar file.
2023-06-17 22:00:09 -04:00
Dave Halter
27af7ef106
Merge pull request #216 from PeterJCLaw/update-mypy
...
Update mypy
2023-02-14 00:43:52 +00:00
Peter Law
171fd33cb6
Be stricter about mypy needing error codes
...
These make it clearer what's being ignored and harder to
accidentally ignore more than expected.
2023-02-13 19:55:49 +00:00
Peter Law
4eba7d697f
Also typecheck setup.py now we can
2023-02-13 19:55:49 +00:00
Peter Law
cf240c7d2b
Update mypy to the latest which supports Python 3.6
2023-02-13 19:55:48 +00:00
Dave Halter
ffadfca81b
Merge pull request #215 from PeterJCLaw/update-flake8
...
Update flake8
2023-02-13 19:50:21 +00:00
Peter Law
378e645bbc
Update flake8
2023-02-13 19:42:33 +00:00
Dave Halter
df34112b5b
Merge pull request #211 from jspricke/test_python3_10
...
Fix unit tests in Python 3.10 (Closes : #192 )
2022-12-06 20:20:10 +00:00
Jochen Sprickerhof
e0a1caecc4
Drop pytest version restriction
...
Not compatible with Python >= 3.10:
https://github.com/pytest-dev/pytest/discussions/9195
2022-12-05 22:26:00 +01:00
Jochen Sprickerhof
7d43001f9d
CI: update tested Python versions
2022-12-05 08:52:20 +01:00
Jochen Sprickerhof
cf5969d7a1
Fix unit tests in Python 3.10 ( Closes : #192 )
2022-12-05 08:52:19 +01:00
Dave Halter
6b6b59f6d7
Merge pull request #209 from hauntsaninja/implicit-optional
...
Explicitly allow implicit optionals
2022-09-28 17:49:01 +00:00
hauntsaninja
7af5259159
Explicitly allow implicit optionals
...
Keeps things working when you upgrade mypy versions.
The other way of solving this problem is in #208
2022-09-27 13:56:26 -07:00
Dave Halter
8ee84d005e
Merge pull request #204 from ariebovenberg/fix-slots
...
Add missing slots to base classes
2022-02-15 00:25:40 +01:00
Arie Bovenberg
0740450899
add missing slots to base classes
2022-02-14 12:56:49 +01:00
Dave Halter
ee5edaf22f
Prepare Release 0.8.3
v0.8.3
2021-11-30 22:03:35 +01:00
Dave Halter
285492f4ed
Add a Python 3.12 grammar, because that is probably going to be needed in a year from now
2021-11-30 22:02:56 +01:00
Dave Halter
da3a7488f9
Merge pull request #199 from sobolevn/patch-1
...
Fixes `__slots__` definition in `NodeOrLeaf`
2021-09-15 22:32:18 +02:00
Nikita Sobolev
c5e8602cae
Fixes __slots__ definition in NodeOrLeaf
2021-09-15 02:33:53 +03:00
Batuhan Taskaya
ae491cbf55
Merge pull request #195 from sturmianseq/fix
...
Removing state pollution in `parser_cache`
2021-08-25 12:13:45 +03:00
Dave Halter
9f32dde163
Jedi still has an import dependency on search_ancestor
...
The problem is basically that Python packaging usually is a bit fuzzy. That's
why I prefer to have this in there for quite some time to avoid conflicts of
version mismatches between Jedi/Parso.
2021-08-23 21:53:34 +02:00
sturmianseq
d26d0d57fe
Applying try & finally blocks
2021-08-19 06:42:08 -07:00
sturmianseq
5570975a7d
Removing state pollution in parser_cache
2021-08-18 20:16:46 -07:00
Dave Halter
e1523014e4
Merge pull request #194 from mgorny/python310
...
Update expected exception line numbers for Python 3.10.0rc1
2021-08-06 18:09:00 +02:00
Michał Górny
7652d3904b
Update expected exception line numbers for Python 3.10.0rc1
...
It seems that upstream has fixed line numbers in some of the expections
in Python 3.10.0rc1, so update the tests accordingly. This means that
test_non_async_in_async() gets the correct line again,
and test_default_except_error_postition() no longer suffers from
the apparent off-by-one problem.
This doesn't fix tests entirely with Python 3.10 but it's a step
forward.
2021-08-06 11:07:11 +02:00
Dave Halter
ed47650fbe
Merge pull request #188 from davidhalter/line-ending
...
Fix line endings support at various locations
2021-05-30 09:37:32 +02:00
Saiyang Gou
60fed7b9f8
Fix flaky test_cache_last_used_update again ( #189 )
...
This is a follow up for #177 . On Windows, `assert node_cache_item.last_used < now` may fail as the two time values can be equal.
2021-05-29 18:17:24 -07:00
gousaiyang
7000dd24d7
Fix line endings support at various locations
2021-05-29 17:56:50 -07:00
Saiyang Gou
86f3f1096b
Add NodeOrLeaf.dump() and NodeOrLeaf.search_ancestor() ( #187 )
...
- Add `NodeOrLeaf.dump()` to generate a readable and "round-trippable" dump for a parser tree
- `parso.tree.search_ancestor()` is deprecated, use `NodeOrLeaf.search_ancestor()` instead
- Set up children's parent in `BaseNode.__init__()`
- Add test for `search_ancestor`
- Various small type annotations improvements
2021-05-29 12:40:07 -07:00
Dave Halter
f2b1ff9429
Add a grammar for Python 3.11 (just copied 3.10), so the core devs can work with it
2021-05-15 13:16:23 +02:00
Miro Hrončok
cbb61fb819
Relax a test regex to match new enum repr in Python 3.10.0a7+ ( #186 )
...
bpo-40066: Enum: adjust repr() to show only enum and member name (not value,
nor angle brackets) and str() to show only member name.
https://bugs.python.org/issue40066
2021-04-22 12:04:49 -07:00
Dave Halter
966d5446eb
Merge pull request #185 from davidhalter/switch-to-github-actions
...
Travis CI -> GitHub Actions
2021-04-08 01:21:17 +02:00
gousaiyang
b42135fb1a
Disable 3.10 build for now
2021-04-07 16:16:49 -07:00
gousaiyang
d76c890667
Try coveralls --service=github
2021-04-07 15:51:13 -07:00