Ashwin Naren
c8fd3bd683
Build wasm on release
2025-01-03-main-5
2025-01-03 14:56:58 +09:00
Shubham Patil
1abaf87abe
Temporarily disable release notes generation
...
Release creation fails with this error:
```
HTTP 422: Validation Failed (https://api.github.com/repos/RustPython/RustPython/releases )
body is too long (maximum is 125000 characters)
Error: Process completed with exit code 1.
```
Most likely because there's no previous release to diff of from.
Disabling, getting a green release & enabling back might fix this.
2024-12-30-main-4
2024-12-30 16:44:55 +09:00
Shubham Patil
38593fbd85
Check operand types in bool or, and, xor to be PyInt ( #5461 )
...
* Added Tests for Bitwise or, and, xor type error
* Sync binary operator order comment with actual implementation
* Check operand types in bool or, and, xor to be PyInt
PyNumber methods are expected to type check both arguments.
Dispatch is not done by inverting parameter order for __r<op>__ (example __ror__) when calls are handled via PyNumberMethods
2024-12-30 16:44:27 +09:00
Ankit Goel
8d187fd275
Bump result-like to 0.5.0
2024-12-28 11:38:00 +09:00
Shubham Patil
646cc81656
Add GitHub Binary Release Pipeline for RustPython ( #5456 )
2024-12-28 11:34:53 +09:00
carsonzhu
01f7536b36
expose run_shell
2024-12-11 17:33:36 +09:00
Jeong, YunWon
97e5ec02f8
Merge pull request #5449 from key262yek/update_test_float_from_CPython_v3.12.7
...
Update test float from c python v3.12.7
2024-12-06 12:50:55 +09:00
Oskar Skog
3dced01af0
Move os.system from posix.rs to os.rs
...
Fixes #5100
2024-12-06 12:19:34 +09:00
Myeongseon Choi
0cf4534c5c
copy new file "Lib/test/support/testcase.py" for test_float.py
2024-12-05 15:29:35 +09:00
Myeongseon Choi
044f66fba3
copy from cpython v3.12.7
2024-12-05 15:29:35 +09:00
Noa
848db340da
Merge pull request #5442 from coolreader18/cli-fixes
...
Miscellaneous cli-related parity fixes
2024-12-03 23:57:57 -06:00
Noa
c6da4ffcdd
Try to fix universal write on windows
2024-12-03 18:01:44 -06:00
Noa
e4be882994
Miscellaneous cli-related parity fixes
2024-12-03 16:28:32 -06:00
Noa
adc05e663f
Merge pull request #5443 from coolreader18/incremental-newline-decoder
...
Implement IncrementalNewlineDecoder in rust
2024-12-03 16:28:00 -06:00
Jeong, YunWon
0bc236ac98
Merge pull request #5450 from key262yek/resolve_lint_fails_w_rust_1.83_clippy
...
Resolve lint fails w rust 1.83 clippy
2024-12-02 12:42:37 +09:00
Myeongseon Choi
da3d3d9296
allow manual c string literal
2024-11-29 11:57:42 +09:00
Myeongseon Choi
6a6af6a952
change to use c str literal
2024-11-29 11:19:10 +09:00
Myeongseon Choi
582a4ab267
delete elided lifetime
2024-11-29 11:18:53 +09:00
Myeongseon Choi
ebde8546c9
remove elided lifetime
2024-11-29 11:05:44 +09:00
Myeongseon Choi
fffd0f5465
new clippy lint update Rust v1.83.0
2024-11-29 09:53:54 +09:00
dependabot[bot]
3b6db8e21a
Bump the github-actions group with 7 updates
...
Bumps the github-actions group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `3` | `4` |
| [actions/setup-python](https://github.com/actions/setup-python ) | `4` | `5` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `3` | `4` |
| [mwilliamson/setup-wabt-action](https://github.com/mwilliamson/setup-wabt-action ) | `1` | `3` |
| [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) | `2` | `4` |
| [wasmerio/setup-wasmer](https://github.com/wasmerio/setup-wasmer ) | `2` | `3` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `3` | `5` |
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
Updates `actions/setup-node` from 3 to 4
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
Updates `mwilliamson/setup-wabt-action` from 1 to 3
- [Release notes](https://github.com/mwilliamson/setup-wabt-action/releases )
- [Commits](https://github.com/mwilliamson/setup-wabt-action/compare/v1...v3 )
Updates `peaceiris/actions-gh-pages` from 2 to 4
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v2...v4 )
Updates `wasmerio/setup-wasmer` from 2 to 3
- [Release notes](https://github.com/wasmerio/setup-wasmer/releases )
- [Commits](https://github.com/wasmerio/setup-wasmer/compare/v2...v3 )
Updates `codecov/codecov-action` from 3 to 5
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: mwilliamson/setup-wabt-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: wasmerio/setup-wasmer
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-27 17:44:35 -07:00
Noa
19a0b7dd76
Merge pull request #5445 from cclauss/patch-2
...
Keep GitHub Actions up to date with GitHub's Dependabot
2024-11-27 13:21:11 -06:00
Noa
9647ebe206
Fix prettier formatting
2024-11-27 13:20:19 -06:00
Noa
0c726a1275
Merge pull request #5447 from isbm/isbm-move-exception-loglevel
...
Move log message to the debug level
2024-11-27 13:04:03 -06:00
Jeong, YunWon
f71eb55f1f
Merge pull request #5438 from key262yek/update_random_from_v3.12.3
...
Update random from v3.12.7
2024-11-26 16:33:36 -07:00
Jeong, YunWon
edcc0b7dbc
Merge pull request #5437 from key262yek/update_numbers_from_v3.12.3
...
Update numbers.py from v3.12.7
2024-11-26 16:30:37 -07:00
Buciu Theodor Marian
4910b308ee
Fix compile error when using ``vm-tracing-logging``
2024-11-26 16:26:00 -07:00
Bo Maryniuk
0cc1c323ed
Move log message to the debug level
2024-11-26 21:29:08 +01:00
Christian Clauss
24fd19b35d
Keep GitHub Actions up to date with GitHub's Dependabot
...
Fixes software supply chain safety warnings like at the bottom right of
https://github.com/RustPython/RustPython/actions/runs/11870777239
* [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot )
* [Configuration options for the dependabot.yml file - package-ecosystem](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem )
2024-11-26 16:38:54 +01:00
Noa
fbd0c7a99e
Implement IncrementalNewlineDecoder in rust
2024-11-14 23:06:53 -06:00
Myeongseon Choi
4f5b26698c
skip test 'super' object has no attribute 'getstate'
2024-11-11 00:17:57 +09:00
Myeongseon Choi
d887e5c24c
first copy from cpython v3.12.3
2024-11-11 00:17:30 +09:00
Myeongseon Choi
0c69391bbd
Copy test for numbers.py from v3.12.3
2024-11-10 00:15:21 +09:00
Myeongseon Choi
91598f9121
change numbers.py from [v3.12.3]( https://github.com/python/cpython/blob/6293d00e7201f3f28b1f4512e57dc4f03855cabd/Lib/numbers.py#L8 )
2024-11-10 00:13:13 +09:00
Jeong YunWon
98d09e7816
Remove time.daylight from freebsd
2024-10-31 16:13:52 +09:00
Myeongseon Choi
7ae9432524
Change deprecated type PanicInfo to PanicHookInfo
2024-10-31 01:45:59 +09:00
dependabot[bot]
edb7abde5a
Bump pyo3 from 0.22.3 to 0.22.4
...
Bumps [pyo3](https://github.com/pyo3/pyo3 ) from 0.22.3 to 0.22.4.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.22.3...v0.22.4 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-16 05:37:46 +09:00
Noa
29d95340b0
Merge pull request #5418 from crazymerlyn/memoryerror
...
Handle MemoryError for sequences
2024-09-29 10:50:01 -05:00
Ankit Goel
6fb19ac74f
Handle MemoryError for sequences
2024-09-29 16:24:30 +01:00
Noa
37dc28a69d
Update deps ( #5417 )
...
* Upgrade nix
* Update deps
* Upgrade pyo3, winreg
* Fix errors from upgrading
2024-09-27 13:11:00 +09:00
Ankit Goel
7623668256
Raise TypeError if BaseException receives Keyword arguments
2024-09-24 11:57:37 +09:00
Noa
bbf7aacd4d
Merge pull request #5409 from crazymerlyn/cache-frozenset-hash
...
Cache hash value for FrozenSets
2024-09-23 17:43:55 -05:00
Noa
d6c1e08ef4
Merge pull request #5413 from crazymerlyn/remove-proc-macro-crate
...
Remove dependency on proc-macro-crate
2024-09-23 17:42:40 -05:00
Ankit Goel
d1f95f04a7
Remove dependency on proc-macro-crate
...
This dependency is only useful when modifying the crate name of
`num_enum` crate. RustPython doesn't do that so it's unnecessary.
2024-09-23 16:54:21 +01:00
Ankit Goel
0dacf8a326
Remove dependency on uuid-macro-internal
...
`uuid-macro-internal` is only relevant when using `uuid!` macro to parse
uuids at compile time. RustPython doesn't do that so it's unnecessary.
2024-09-23 15:07:57 +09:00
Noa
e534b10722
Fix build with ossl1
2024-09-22 17:38:26 +09:00
Jeong, YunWon
0785cc5aa9
Merge pull request #5406 from coolreader18/improve-posixsubprocess
...
Improve posixsubprocess
2024-09-22 17:37:34 +09:00
Ankit Goel
48025e0102
Cache hash value for FrozenSets
...
Adds a hash field to the `PyFrozenSet` data type in order to avoid
recomputing the hash of an immutable object.
2024-09-22 06:15:54 +01:00
Noa
eeb719e8f7
Merge pull request #5411 from crazymerlyn/decimal-from-float
...
Fix inconsistent behavior of Decimal.from_float
2024-09-21 22:58:23 -05:00
Noa
7933edad43
Add missing functionality to posixsubprocess
2024-09-21 22:40:15 -05:00