Commit graph

250 commits

Author SHA1 Message Date
Neradoc
0306fae90c auto install improvements 2023-03-21 01:27:31 +01:00
Scott Shawcroft
aa3c57ff22
Merge pull request #161 from Neradoc/update-pylint
Update to pylint 2.15.5 to avoid an error in pip installing it
2023-02-21 10:30:41 -08:00
Neradoc
d9c3c567e9 update to pylint 2.15.5 to avoid an error in pip installing it 2023-02-08 05:58:23 +01:00
Dan Halbert
55b0139ebf
Merge pull request #155 from Neradoc/wrong-mpy-file-response
Fix crash when bad MPY file
2022-12-09 18:58:11 -05:00
Dan Halbert
3cf3919e68
Merge pull request #158 from adafruit/dependabot/pip/certifi-2022.12.7
Bump certifi from 2019.6.16 to 2022.12.7
2022-12-09 18:57:51 -05:00
dependabot[bot]
717d015742
Bump certifi from 2019.6.16 to 2022.12.7
Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.6.16 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2019.06.16...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 06:20:12 +00:00
Neradoc
41c36cb368 change Bad format to Invalid 2022-10-31 17:05:48 +01:00
Neradoc
3ff7197077 detect bad mpy files and suggest replacing them 2022-10-31 17:05:48 +01:00
Dan Halbert
1910d6b4fc
Merge pull request #153 from Neradoc/filter-all-pip-versions
fix filtering all pip version strings in requirements.txt
2022-09-16 18:28:06 -04:00
Neradoc
7465718020 fix filtering all pip version strings in requirements.txt 2022-08-25 23:51:26 +02:00
foamyguy
b7a28e6d3c
Merge pull request #148 from Neradoc/ignore-type-annotations-for-dunders
fix reading __version__ and __repo__ with type annotations
2022-07-05 08:52:18 -05:00
Alec Delaney
b931a2055b
Merge pull request #149 from tekktrik/dev/fix-incompatibility
Update pinned importlib_metadata version
2022-07-05 09:22:01 -04:00
Alec Delaney
0a7f3fcfa0
Switch underscore for hyphen 2022-07-04 23:52:02 -04:00
Alec Delaney
af8034615c
Update pinned importlib_metadata version 2022-07-04 23:29:29 -04:00
Neradoc
52706625f0 fix reading __version__ and __repo__ with type annotations 2022-07-05 03:31:08 +02:00
Dan Halbert
2c23dd455b
Merge pull request #145 from FoamyGuy/8mpy_platform
add platform entry for 8mpy
2022-06-08 08:53:35 -04:00
Dan Halbert
4eea33612a
determine _bundle_count dynamically 2022-06-08 08:48:59 -04:00
foamyguy
c013e555ea bundle count in test 2022-06-06 12:42:57 -05:00
foamyguy
65ff2d7742 update versions in pre-commit config 2022-06-06 11:29:19 -05:00
foamyguy
17708f9a1c add platform entry for 8mpy 2022-06-06 11:17:30 -05:00
Dan Halbert
86ff01c5fb
Merge pull request #142 from dhalbert/handle-circuitpython_typing
special-case circuitpython_typing
2022-02-18 10:41:18 -05:00
Dan Halbert
d783743e79 special-case circuitpython_typing 2022-02-18 09:43:20 -05:00
Dan Halbert
14f7caf70f
Merge pull request #138 from adafruit/dhalbert-add-update-checker
add update_checker to install_requires
2021-12-24 14:57:13 -05:00
Dan Halbert
0c922620a6
add update_checker to install_requires 2021-12-24 14:50:03 -05:00
foamyguy
86255dd9df
Merge pull request #136 from dhalbert/circup-update-check
Report if a newer version of circup is available
2021-12-24 08:02:13 -06:00
Dan Halbert
bfecb7593f Report if a newer version of circup is available 2021-12-22 12:52:42 -05:00
Jeff Epler
f0d51771e2
Merge pull request #129 from adafruit/dependabot/pip/babel-2.9.1
Bump babel from 2.7.0 to 2.9.1
2021-12-16 07:29:44 -07:00
a05f7376c3
Merge remote-tracking branch 'origin/main' into dependabot/pip/babel-2.9.1 2021-12-16 08:23:36 -06:00
Scott Shawcroft
5552759282
Merge pull request #132 from FoamyGuy/remove_6x
remove 6.x platforms
2021-12-15 10:49:33 -08:00
foamyguy
cf7e9b1557 fix tests for no 6.x bundle 2021-12-14 17:13:58 -06:00
foamyguy
400e28e023 remove jet brains IDE dir from gitignore 2021-12-14 14:16:13 -06:00
foamyguy
c14337b741 use python37 in actions. gitignore IDE dir 2021-12-14 14:02:34 -06:00
foamyguy
eb34a646f8 remove 6.x platforms 2021-12-14 13:41:43 -06:00
dependabot[bot]
d39063daac
Bump babel from 2.7.0 to 2.9.1
Bumps [babel](https://github.com/python-babel/babel) from 2.7.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.7.0...v2.9.1)

---
updated-dependencies:
- dependency-name: babel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-21 18:38:55 +00:00
Neradoc
05514e5d79
Add commands for a local list of 3rd party bundles (#128)
* Add local bundle commands

- the local bundles take precedence over the built-in ones
- bundle-show lists the bundles
  --modules lists the modules in each bundle
- bundle-add adds a bundle from the user/repo github string
  it does some level of checking that the repo's and zips URLs exist
- bundle-remove removes a bundle from the local list

* allow overwritting the built-in modules manually

* remove show_bundles_info

* filter github URLs into github repo string

* avoid duplicates if adding built-ins as local, but allow it (to override priority order)

* put bundle-remove --reset back

* small change in bundle-show, local first

* message on built-in in bundle-remove
2021-09-13 18:27:18 -07:00
Patrick
d467d2545b
move bundle config to JSON format (#126)
* move bundle config to JSON format

* correct docstring, change print back to logging

* remove make reference from contributing

* change layout and install for config file
2021-09-08 16:07:21 -07:00
Neradoc
a9f9cf5e77
Display the URL to update Circuitpython (#124)
* Display the URL to update circuitpython

- Display the URL to circuitpython.org, using the board's ID if available.
- Fix a crash if boot_out.txt contains more than 1 ";" (if boot.py prints some).
- Display a clean error if `boot_out.txt` is missing (can easily happen with --path).

* change internal Bundle.url to the base URL of the bundle

* "install --requirement" allows any path and checks it exists with click.

* "show <match>" forces lower case matching (install already does).
2021-09-06 13:27:25 -07:00
Patrick
cc39336580
special case adafruit_display_button (#123) 2021-08-20 15:56:20 -07:00
dgriswo
350f1ceb04
fix Pimoroni LTR559 install error (#120) 2021-08-20 13:53:23 -07:00
dgriswo
15d634d31a
add BOARDLESS_COMMANDS and allow to run without an attached board (#121) 2021-08-19 16:28:05 -07:00
Scott Shawcroft
908eded30c
Merge pull request #119 from FoamyGuy/circuitpython_org_bundle
adding circuitpython org bundle
2021-08-12 09:27:51 -07:00
foamyguy
91c07550f5 adding circuitpython org bundle 2021-08-12 08:44:21 -05:00
Jeff Epler
b28289ea6d
Merge pull request #118 from jepler/install-auto
Implement `circup install --auto`
2021-08-10 10:06:34 -05:00
Jeff Epler
5076a5dd4f Fix handling of various import styles, add test 2021-08-07 11:34:20 -05:00
Jeff Epler
d075358280 Implement circup install --auto
`--auto` uses the `findimports` module to determine what is used by
code.py (or the filename given by --auto-file=, such as --auto-file=boot.py)

`requirements.txt` is regenerated and its license information has been
detached so that it can later be updated more easily with `pip freeze`.
2021-08-07 08:53:23 -05:00
Neradoc
6dbddb6151
check for requirements in the right place (#115) 2021-07-23 15:07:40 -07:00
Scott Shawcroft
1e32009d29
Merge pull request #116 from lesamouraipourpre/license-rename
Remove space from end of filename
2021-07-14 10:36:58 -07:00
James Carr
ed7a738834 Remove space from end of filename 2021-07-14 13:31:41 +01:00
Neradoc
f797cdd08e
add module names completion for install (#103)
* add module names completion for install

* sort completion suggestions

* add instructions in the readme

* switch to click 8

* update setup.py to click 8

* fix from rebase (missing bundle list)

* try not to update bundles for shell completion
2021-06-27 14:02:30 -07:00
Neradoc
820dc0a7be
handle MPY versions from CP 7.x (#109) 2021-06-27 11:35:17 -07:00