Commit graph

238 commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
97895d21a3
Merge pull request #90 from adafruit/ignore-more-package-names
build_bundles: Ignore more packages that exist only on pypi
2022-07-18 13:02:43 -07:00
38931db45e
Don't ignore busdevice
This is a weird one since some devices have it in core now, and others don't.

This happened in part because I copypasted the list currently in pipkin instead of tweaking the existing list, which was initially added with this module in the list: b9957133a9
2022-07-18 14:41:15 -05:00
9fb6ffb1ea
build_bundles: Ignore more packages that exist only on pypi
…and sort the existing list and use 'normalized' names

The implementation of normalize_dist_name is taken from pipkin.
2022-07-18 12:55:47 -05:00
foamyguy
3552198336
Merge pull request #88 from Neradoc/fix-single-file-libraries-mpy
Fix the single file libraries being copied as source.
2022-06-18 15:34:20 -05:00
Neradoc
a0e40b58da Fix the single file libraries being copied as source.
The code generates a temp file with the library version.
By mistake that was ALWAYS copied back to the mpy file for single file libraries.
The temporary files for the package libraries were also not deleted.

For windows compatibility, the temporary file must be copied (and therefore erased) outside of the with block. In this PR we only keep the temporary file open the time to write to it, and then do the rest.
2022-06-17 23:47:04 +02:00
Scott Shawcroft
2b255aa47d
Merge pull request #87 from Neradoc/add-cp8-to-bundles
Generate Circuitpython 8.x bundle
2022-06-14 09:23:52 -07:00
Neradoc
d98fb9082c Generate Circuitpython 8.X bundle 2022-06-14 16:26:04 +02:00
Dan Halbert
8c66f80024
Merge pull request #86 from Neradoc/patch-1
Bump the mpy-cross version to 7.3.0
2022-06-14 09:37:12 -04:00
Neradoc
f91e0108a4
Bump the mpy-cross version for fixes to the language
In Micropython 18 (and CP 7.3.0) there are some language fixes to previous syntax errors in f-strings, and maybe others.
A string like this would not compile prior to 7.3.0:
```py
string = "123456789"
print(f"{string[2:6]}")
```
Note that an MPY file with that code generated with mpy-cross 7.3.0 runs properly on 7.0.0 according to my tests.
2022-06-14 15:20:54 +02:00
Jeff Epler
de44a709f6
Merge pull request #84 from 2bndy5/make-windows-compatible
Windows compatibility
2022-01-26 08:26:28 -06:00
2bndy5
a55a92367e self reviewed 2022-01-25 17:19:03 -08:00
2bndy5
bac3e8056f fix url for win x64 pre-built mpy-cross 2022-01-25 14:57:42 -08:00
2bndy5
2d53879c1a solution for #75 2022-01-21 14:29:44 -08:00
Dan Halbert
7da9c1d789
Merge pull request #83 from adafruit/tannewt-patch-8
Stop supporting 6.x in the bundles
2021-12-14 08:27:40 -05:00
Scott Shawcroft
ec2e342ef2
Stop supporting 6.x
Libraries are being updated for 7.0.0 only which has been out since September 20th, 2021.

I've updated the FAQ with the last bundle: https://learn.adafruit.com/welcome-to-circuitpython/frequently-asked-questions
2021-12-13 15:05:19 -08:00
Dan Halbert
80489a6142
Merge pull request #81 from jepler/update-7.0.0-final
update tag for 7.x
2021-10-08 23:18:57 -04:00
35880f474b update tag for 7.x 2021-10-08 21:55:52 -05:00
Scott Shawcroft
cde80f6c85
Merge pull request #73 from lesamouraipourpre/github-actions
Convert from Travis to Github Actions
2021-09-14 11:22:21 -07:00
James Carr
734890c799
Merge branch 'main' of github.com:adafruit/circuitpython-build-tools into github-actions 2021-09-13 20:29:48 +01:00
Scott Shawcroft
1b3ea7d630
Merge pull request #77 from FoamyGuy/circuitpython_org_pypi_name
fix pypi names for circuitpython org libraries
2021-09-13 12:10:33 -07:00
foamyguy
3845cee485 fix pypi names for circuitpython org libraries 2021-09-11 11:43:09 -05:00
Scott Shawcroft
bdcdafdb90
Merge pull request #76 from lesamouraipourpre/patch-1
Update target_versions.py to the latest versions
2021-06-08 13:58:42 -07:00
James Carr
baec9067b8
Update target_versions.py to the latest versions 2021-06-07 23:59:03 +01:00
Jeff Epler
4d055bb535
Merge pull request #72 from lesamouraipourpre/aws-mpy-cross
Use mpy-cross from S3 if possible
2021-05-30 12:19:00 -06:00
James Carr
eadbc29632
Add 'if not quiet' to the print statements 2021-05-30 15:45:33 +01:00
James Carr
853dc57e87
Update Python in Travis to 3.7 2021-05-30 13:05:45 +01:00
James Carr
743c550128
Convert from Travis to Github Actions (Closes #59)
BREAKING CHANGES
This REQUIRES releases to generate the artifacts not just tags.
This DOES NOT generate the data directory containing mpy-cross versions.
2021-05-30 12:50:51 +01:00
James Carr
385cbc607d
Add author info 2021-05-30 12:42:37 +01:00
James Carr
98b12389a8
Replace tab with spaces 2021-05-30 11:27:09 +01:00
James Carr
f69bc7b660
Add basic exception handling around the S3 request 2021-05-30 11:24:43 +01:00
James Carr
39b1fe192f
Add Linux/x86_64 to mpy-cross S3 check 2021-05-30 00:28:56 +01:00
James Carr
c9a7d6323e
Update Python requirement to 3.7 2021-05-30 00:27:06 +01:00
James Carr
385b448490
Merge branch 'aws-mpy-cross' of github.com:lesamouraipourpre/circuitpython-build-tools into aws-mpy-cross 2021-05-29 20:10:39 +01:00
James Carr
f4532c667c
Add macos support to S3 mpy-cross 2021-05-29 20:08:03 +01:00
James Carr
1b45018a49
Update setup.py to install requests 2021-05-29 20:08:03 +01:00
James Carr
4c8cf86ebb
Pull mpy-cross from AWS S3 instead of building. (Closes #55)
Fall back to building if fetching fails.
2021-05-29 20:07:11 +01:00
James Carr
4aafea594f
Update setup.py to install requests 2021-05-29 18:35:56 +01:00
James Carr
03fd236dd4
Pull mpy-cross from AWS S3 instead of building.
Fall back to building if fetching fails.
2021-05-29 18:25:49 +01:00
Jeff Epler
716a38c713
Merge pull request #71 from adafruit/tannewt-patch-7
Update 7.x tag for the (hopefully) final MPY version
2021-05-10 17:43:00 -05:00
Scott Shawcroft
59651e993f
Update 7.x tag for the (hopefully) final MPY version 2021-05-10 15:13:02 -07:00
Melissa LeBlanc-Williams
f8bbac8d81
Merge pull request #69 from makermelissa/master
Fix PyPI names in json when .git is missing
2021-04-07 13:46:16 -07:00
Melissa LeBlanc-Williams
e9ba66eb93 Fix PyPI names in json when .git is missing 2021-04-07 13:41:15 -07:00
Kattni
9a523be681
Merge pull request #68 from kattni/update-versions
Update to 6.2.0 and add 7.
2021-04-07 16:14:47 -04:00
Kattni Rembor
28072e3995 Update to 6.2.0 and add 7. 2021-04-07 16:04:41 -04:00
Dan Halbert
7b0b16d2be
Merge pull request #66 from makermelissa/master
Bundle JSON improvements
2021-03-31 13:07:13 -04:00
Melissa LeBlanc-Williams
336d6b9a53 Changed LINUX LIBS to BLINKA LIBS and added a couple more 2021-03-31 09:59:15 -07:00
Melissa LeBlanc-Williams
243a717ff4 Added PyPI Name for external package matching 2021-03-31 09:31:16 -07:00
Melissa LeBlanc-Williams
3bb57a8c58 Remove quotes used for testing 2021-03-31 09:27:59 -07:00
Melissa LeBlanc-Williams
6866d2609a Bundle JSON improvements 2021-03-31 09:23:13 -07:00
Melissa LeBlanc-Williams
248bc56a4a
Merge pull request #65 from makermelissa/master
Add library versions to JSON
2021-03-24 16:24:32 -07:00