-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#34: Relax black version requirements #88
#34: Relax black version requirements #88
Conversation
* Bump sqlalchemy from 1.1.14 to 1.3.0 in /tests/data/broken_1 Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.1.14 to 1.3.0. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlalchemy from 1.1.14 to 1.3.0 in /tests/data/extra_0 Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.1.14 to 1.3.0. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlalchemy from 1.1.14 to 1.3.0 in /tests/data Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.1.14 to 1.3.0. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump requests from 2.18.4 to 2.20.0 in /tests/data Bumps [requests](https://github.com/psf/requests) from 2.18.4 to 2.20.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.18.4...v2.20.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## master #88 +/- ##
==========================================
+ Coverage 94.63% 94.77% +0.13%
==========================================
Files 10 10
Lines 746 765 +19
==========================================
+ Hits 706 725 +19
Misses 40 40
Continue to review full report at Codecov.
|
68bff3c
to
ce205cc
Compare
45082ca
to
cd55bfa
Compare
290b749
to
f6246b9
Compare
commit 89df2f6ee260165003c4ef518fae531398acfa25 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:54:53 2021 -0500 [#34] hopefully it works now 🤞 Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 88fbded0f401f29873f14ad4bc44d65976e319e0 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:49:28 2021 -0500 [#34] `"` -> `'` Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 6c0d3475796c6f8064968e7ec9dbcb6c4c3d5049 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:47:14 2021 -0500 [#34] try again Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 1dc7ac08fc98290f428b0ab1bd25ed0c0c51668f Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:41:52 2021 -0500 [#34] don't split conditional accross multiple lines Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 6d543c4c74f41916604e8b13d492b782d36f61af Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:37:31 2021 -0500 [#34] simplify `extras` test Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 7d8dd7aa36f2f125fc1be390cafd66b175eab8b3 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Tue Nov 23 14:28:17 2021 -0500 [#34] update `usage` workflow strategy Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 6cbb90f91440621b2e79396c60cd802cf3f220e7 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sun Nov 21 21:45:18 2021 -0500 [#34] remove `PIPENV_SETUP` var It was causing Windows grief commit 7f129718c3ec4ded67e6e6376537b7bb5e426601 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sun Nov 21 18:14:41 2021 -0500 [#34] TDD: add failing `black` / `autopep8` tests Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 16a967233a7ce8e784b822491a404767bb2563a1 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sun Nov 21 17:37:19 2021 -0500 [#34] print `--help` to test installation Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit bc66d794f4b9993bedc1804bd91c2d772ef39da5 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sun Nov 21 16:16:41 2021 -0500 [#34] WIP: add `usage` workflow this workflow is intended to test the installation of this project and its CLI Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu>
702e35a
to
c1480e8
Compare
8c039a4
to
6c8c063
Compare
commit d9c1b62006b6ebe31c0f3856d50d5632c5b4a353 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 22:42:05 2021 -0500 [#34] TDD: add failing test for closing #34 Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 82260142cfa27bf32d624be46957d5c8e14fd960 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 22:15:00 2021 -0500 [#34] add a third option: neither `black` nor `autopep8` Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit b12d85c988b89b85343f49ef7f47996e3a165b55 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 21:59:50 2021 -0500 [#34] add test for `autopep8` (not `black`) Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 1a9e0b9ebe710de20a1e94c98cbcec7b5f20bd56 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 21:57:00 2021 -0500 [#34] correct import failures for python2.7 Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit dbe08a3eb7159fa3f97fc8a23fdd9db31cff05fe Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 20:41:04 2021 -0500 [#34] add test for `black` import failures Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit e9113a0203d495de874bdb2099deaf25410d6107 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 00:53:59 2021 -0500 [#34] xfail test for < 3.6 Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit f28f9ea20e028eb96fb1fa9fda326cb1e6c570d1 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 00:23:30 2021 -0500 [#34] add function to retrieve fmt module Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit a5005e521acd7c17c2f46724fbed8540845987f0 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 00:18:06 2021 -0500 [#34] `ModuleNotFoundError` -> `ImportError` Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit f349c194a248fdf8b17635639946ad31d0719ea3 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Sat Nov 20 00:05:36 2021 -0500 [#34] update dummy import fixture; add tests Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 74d49aeb79c85ef4d0869840bb563425f63cb3f0 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Fri Nov 19 23:21:53 2021 -0500 [#34] add test for monkeypatching __import__ Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> commit 3271762f845c691f0b7d819d62c572e052fff045 Author: Bryant Finney <bryant.finney@alumni.uah.edu> Date: Fri Nov 19 20:59:33 2021 -0500 [#34] `isort setup_updater.py` Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu> Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu>
44f8b12
to
836816f
Compare
Signed-off-by: Bryant Finney <bryant.finney@alumni.uah.edu>
836816f
to
bd9f6f4
Compare
@jshwi mind giving this a once-over? 🙂 |
@bryant-finney Totally, not a prob 😄 I'll get back to you asap! |
@bryant-finney I ran this on a package that previously could not install this due to a conflicting version of black, and so far so good. And it runs as it is supposed to too. I'm going to look at the source code and see if anything stands out, or I feel we should be discussed. From what I saw previously, though, I don't think there are any issues. I'll try this with varying installations of black, or no black, just for a duress test. But I think this looks really good!! |
@jshwi excellent, thank you for digging into this 😃 I'll wait to merge until you've finished testing! |
@bryant-finney I could only find those two suggestions for 3ad861b (really just being picky, but any constructive discussion is good discussion!), going to look at the remaining two commits, but looking good! 🎉 edit: Come to think about it, not sure why the test passed without the explicit exception, and failed with it. Is it simply because |
@jshwi I believe that because But IIRC, the root issue was that python 2.7 doesn't actually raise |
@bryant-finney This looks good to merge as far as I can tell :) |
@jshwi awesome, thanks again for the review 😁 |
@bryant-finney Any time. Great work! |
Closes #34