Skip to content

Commit 3805080

Browse files
committed
Merge from upstream -- fixes needed for two tests
2 parents 5c77893 + d694ac6 commit 3805080

File tree

1,877 files changed

+67217
-44912
lines changed

Some content is hidden

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

1,877 files changed

+67217
-44912
lines changed

.git-blame-ignore-revs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# all: Prune trailing whitespace.
2+
dda9b9c6da5d3c31fa8769e581a753e95a270803
3+
4+
# all: Remove the "STATIC" macro and just use "static" instead.
5+
decf8e6a8bb940d5829ca3296790631fcece7b21
6+
7+
# renesas-ra: Fix spelling mistakes found by codespell.
8+
b3f2f18f927fa2fad10daf63d8c391331f5edf58
9+
10+
# all: Update Python formatting to ruff-format.
11+
bbd8760bd9a2302e5abee29db279102bb11d7732
12+
13+
# all: Fix various spelling mistakes found by codespell 2.2.6.
14+
cf490a70917a1b2d38ba9b58e763e0837d0f7ca7
15+
116
# all: Fix spelling mistakes based on codespell check.
217
b1229efbd1509654dec6053865ab828d769e29db
318

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88

99
# These are binary so should never be modified by git.
1010
*.a binary
11+
*.ico binary
1112
*.png binary
1213
*.jpg binary
1314
*.dxf binary
1415
*.mpy binary
16+
*.der binary
1517

1618
# These should also not be modified by git.
1719
tests/basics/string_cr_conversion.py -text

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
name: Bug report
2+
description: Report a bug or unexpected behaviour
3+
labels: ["bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please provide as much detail as you can, it really helps us find and fix bugs faster.
9+
10+
#### Not a bug report?
11+
12+
* If you have a question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
13+
* For missing or incorrect documentation, or feature requests, then please [choose a different issue type](https://github.com/micropython/micropython/issues/new/choose).
14+
- type: checkboxes
15+
id: terms
16+
attributes:
17+
label: Checks
18+
description: |
19+
Before submitting your bug report, please go over these check points:
20+
options:
21+
- label: |
22+
I agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone.
23+
required: true
24+
- label: |
25+
I've searched for [existing issues](https://github.com/micropython/micropython/issues) matching this bug, and didn't find any.
26+
required: true
27+
- type: input
28+
id: port-board-hw
29+
attributes:
30+
label: Port, board and/or hardware
31+
description: |
32+
Which MicroPython port(s) and board(s) are you using?
33+
placeholder: |
34+
esp32 port, ESP32-Fantastic board.
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: version
39+
attributes:
40+
label: MicroPython version
41+
description: |
42+
To find the version:
43+
44+
1. Open a serial REPL.
45+
2. Type Ctrl-B to see the startup message.
46+
3. Copy-paste that output here.
47+
48+
If the issue is about building MicroPython, please provide output of `git describe --dirty` and as much information as possible about the build environment.
49+
50+
If the version or configuration is modified from the official MicroPython releases or the master branch, please tell us the details of this as well.
51+
placeholder: |
52+
MicroPython v6.28.3 on 2029-01-23; PyBoard 9 with STM32F9
53+
validations:
54+
required: true
55+
- type: textarea
56+
id: steps-reproduce
57+
attributes:
58+
label: Reproduction
59+
description: |
60+
What steps will reproduce the problem? Please include all details that could be relevant about the environment, configuration, etc.
61+
62+
If there is Python code to reproduce this issue then please either:
63+
a. Type it into a code block below ([code block guide](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)), or
64+
b. Post longer code to a [GitHub gist](https://gist.github.com/), or
65+
c. Create a sample project on GitHub.
66+
67+
For build issues, please provide the exact build commands that you ran.
68+
placeholder: |
69+
1. Copy paste the code provided below into a new file
70+
2. Use `mpremote run` to execute it on the board.
71+
validations:
72+
required: true
73+
- type: textarea
74+
id: expected
75+
attributes:
76+
label: Expected behaviour
77+
description: |
78+
What did you expect MicroPython to do? If comparing output with CPython or a different MicroPython port/version then please provide that output here.
79+
placeholder: |
80+
Expected to print "Hello World".
81+
82+
Here is the correct output, seen with previous MicroPython version v3.14.159:
83+
84+
> [...]
85+
- type: textarea
86+
id: what-happened
87+
attributes:
88+
label: Observed behaviour
89+
description: |
90+
What actually happened? Where possible please paste exact output, or the complete build log, etc. Very long output can be linked in a [GitHub gist](https://gist.github.com/).
91+
placeholder: |
92+
This unexpected exception appears:
93+
94+
> [...]
95+
validations:
96+
required: true
97+
- type: textarea
98+
id: additional
99+
attributes:
100+
label: Additional Information
101+
description: |
102+
Is there anything else that might help to resolve this issue?
103+
value: No, I've provided everything above.
104+
- type: markdown
105+
attributes:
106+
value: |
107+
Thanks for taking the time to help improve MicroPython.

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Documentation issue
2+
description: Report areas of the documentation or examples that need improvement
3+
title: "docs: "
4+
labels: ["documentation"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
This form is for reporting issues with the documentation or examples provided with MicroPython.
10+
11+
If you have a general question \"How Do I ...?\", please post it on [GitHub Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead of here.
12+
- type: checkboxes
13+
id: terms
14+
attributes:
15+
label: Checks
16+
description: |
17+
Before submitting your bug report, please go over these check points:
18+
options:
19+
- label: |
20+
I agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone.
21+
required: true
22+
- label: |
23+
I've searched for [existing issues](https://github.com/micropython/micropython/issues) and didn't find any that matched.
24+
required: true
25+
- type: input
26+
id: page
27+
attributes:
28+
label: Documentation URL
29+
description: |
30+
Does this issue relate to a particular page in the [online documentation](https://docs.micropython.org/en/latest/)? If yes, please paste the URL of the page:
31+
placeholder: |
32+
https://docs.micropython.org/en/latest/
33+
- type: textarea
34+
id: version
35+
attributes:
36+
label: Description
37+
description: |
38+
Please describe what was missing from the documentation and/or what was incorrect/incomplete.
39+
validations:
40+
required: true
41+
- type: markdown
42+
attributes:
43+
value: |
44+
Thanks for taking the time to help improve MicroPython.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Feature request
2+
description: Request a feature or improvement
3+
labels: ['enhancement']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
This form is for requesting features or improvements in MicroPython.
9+
10+
#### Get feedback first
11+
12+
Before submitting a new feature idea here, suggest starting a discussion on [Discord](https://discord.gg/RB8HZSAExQ) or [GitHub Discussions](https://github.com/orgs/micropython/discussions/) to get early feedback from the community and maintainers.
13+
14+
#### Not a MicroPython core feature?
15+
16+
* If you have a question \"How Do I ...?\", please post it on GitHub Discussions or Discord instead of here.
17+
* Could this feature be implemented as a pure Python library? If so, please open the request on the [micropython-lib repository](https://github.com/micropython/micropython-lib/issues) instead.
18+
- type: checkboxes
19+
id: terms
20+
attributes:
21+
label: Checks
22+
description: |
23+
Before submitting your feature request, please go over these check points:
24+
options:
25+
- label: |
26+
I agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone.
27+
required: true
28+
- label: |
29+
I've searched for [existing issues](https://github.com/micropython/micropython/issues) regarding this feature, and didn't find any.
30+
required: true
31+
- type: textarea
32+
id: feature
33+
attributes:
34+
label: Description
35+
description: |
36+
Describe the feature you'd like to see added to MicroPython. What does this feature enable and why is it useful?
37+
38+
* For core Python features, where possible please include a link to the relevant PEP or CPython documentation.
39+
* For new architectures / ports / boards, please provide links to relevant documentation, specifications, and toolchains. Any information about the popularity and unique features about this hardware would also be useful.
40+
* For features for existing ports (e.g. new peripherals or microcontroller features), please describe which port(s) it applies to, and whether this is could be an extension to the machine API or a port-specific module?
41+
* For drivers (e.g. for external hardware), please link to datasheets and/or existing drivers from other sources.
42+
43+
If there is an existing discussion somewhere about this feature, please add a link to it as well.
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: size
48+
attributes:
49+
label: Code Size
50+
description: |
51+
MicroPython aims to strike a balance between functionality and code size. Can this feature be optionally enabled?
52+
53+
If you believe the usefulness of this feature would outweigh the additional code size, please explain. (It's OK to say you're unsure here, we're happy to discuss this with you.)
54+
- type: checkboxes
55+
id: implementation
56+
attributes:
57+
label: Implementation
58+
options:
59+
- label: I intend to implement this feature and would submit a Pull Request if desirable.
60+
- label: I hope the MicroPython maintainers or community will implement this feature.
61+
- label: I would like to [Sponsor](https://github.com/sponsors/micropython#sponsors) development of this feature.
62+
- type: markdown
63+
attributes:
64+
value: |
65+
Thanks for taking the time to suggest improvements for MicroPython.

.github/ISSUE_TEMPLATE/security.md

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Security report
2+
description: Report a security issue or vulnerability in MicroPython
3+
labels: ["security"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
This form is for reporting security issues in MicroPython that are not readily exploitable.
9+
10+
1. For issues that are readily exploitable or have high impact, please email [email protected] instead.
11+
1. If this is a question about security, please ask it in [Discussions](https://github.com/orgs/micropython/discussions/) or [Discord](https://discord.gg/RB8HZSAExQ) instead.
12+
- type: checkboxes
13+
id: terms
14+
attributes:
15+
label: Checks
16+
description: |
17+
Before submitting your bug report, please go over these check points:
18+
options:
19+
- label: |
20+
I agree to follow the MicroPython [Code of Conduct](https://github.com/micropython/micropython/blob/master/CODEOFCONDUCT.md) to ensure a safe and respectful space for everyone.
21+
required: true
22+
- label: I wish to report a specific security issue that is **not readily exploitable and does not have high impact** for MicroPython developers or users.
23+
required: true
24+
- label: |
25+
I've searched for [existing issues](https://github.com/micropython/micropython/issues) and didn't find any that matched.
26+
required: true
27+
- type: input
28+
id: port-board-hw
29+
attributes:
30+
label: Port, board and/or hardware
31+
description: |
32+
Which MicroPython port(s) and board(s) are you using?
33+
placeholder: |
34+
esp32 port, ESP32-Duper board.
35+
- type: textarea
36+
id: version
37+
attributes:
38+
label: MicroPython version
39+
description: |
40+
To find the version:
41+
42+
1. Open a serial REPL.
43+
2. Type Ctrl-B to see the startup message.
44+
3. Copy-paste that output here.
45+
46+
If the version or configuration is modified from the official MicroPython releases or the master branch, please tell us the details of this as well.
47+
placeholder: |
48+
MicroPython v6.28.3 on 2029-01-23; PyBoard 9 with STM32F9
49+
- type: textarea
50+
id: report
51+
attributes:
52+
label: Issue Report
53+
description: |
54+
Please provide a clear and concise description of the security issue.
55+
56+
* What does this issue allow an attacker to do?
57+
* How does the attacker exploit this issue?
58+
validations:
59+
required: true

0 commit comments

Comments
 (0)