Skip to content

fix #357 - ValueError for annotated tasks - #606

Open
toejough wants to merge 3 commits into
pyinvoke:mainfrom
toejough:patch-1
Open

toejough wants to merge 3 commits into
pyinvoke:mainfrom
toejough:patch-1

Conversation

@toejough

@toejough toejough commented Jan 6, 2019 •

Copy link
Copy Markdown

As mentioned in #357 - using getfullargspec as recommended in the error itself.


This change is Reviewable

As mentioned in pyinvoke#357 - using `getfullargspec` as recommended in the error itself.
...for python 2.7 and pypy
had previously attempted to match coding style with one-liner - black was not amused.

Black's suggestion was to use parens and make the statement multi-line, which isn't correct, IMO.  Abandoned the code style and went with a shorter one-liner.
@atemate

atemate commented Sep 9, 2019

Copy link
Copy Markdown

@toejough what's the status of this PR? I also would like type annotations to be fixed.

@toejough

toejough commented Sep 9, 2019

Copy link
Copy Markdown
Author

¯\_(ツ)_/¯. AFAICT, it's still the right solution, and it's still passing CI, and it hasn't been merged. I don't have the privileges to merge it.

I'm actually working entirely in Go these days. I'm not impacted by this anymore, but it looks like a lot of people still are. @bitprophet, would you accept this PR? I'm happy to make any final adjustments necessary to push it across the finish line.

@lararosekelley

Copy link
Copy Markdown

Would love to see progress on this - have been using the monkey patch successfully until now

@elgalu

elgalu commented Feb 7, 2021

Copy link
Copy Markdown

merge?

@benburk

benburk commented Jun 8, 2021

Copy link
Copy Markdown

Can this please be merged?

@sylr

sylr commented Jan 15, 2022

Copy link
Copy Markdown

@bitprophet could you please review/merge this?

@mrv96

mrv96 commented Jan 24, 2022

Copy link
Copy Markdown

Can this be merged?

@neozenith

Copy link
Copy Markdown

Hi 👋
I'm starting to volunteer on triage on PRs and issues.

The messaging for the roadmap can be found here:
https://bitprophet.org/projects/#roadmap

Key items that are putting back pressure are:

  • Migrating CI [DONE]
  • Dropping Python2 support

The latter task is the more important task which will make future type annotation support easier.

Given this PR has a high number of 👍 votes on it I'll take that as community feedback it has good ROI for me to investigate. We do appreciate everyone's patience as we have limited volunteering time and cognitive bandwidth.

@sylr

sylr commented Jul 5, 2022

Copy link
Copy Markdown

@bitprophet please ?

@akettmann-e24

Copy link
Copy Markdown

Is this being held back on purpose for some reason? The PR seems to be reasonable to me... the error message says how to fix it... At what point does the project need to say it is compatible with Python2.7 and Python 3.4 only instead of 3.4+?

@neozenith

Copy link
Copy Markdown

Hi, a quick update, I have personally had to take a back seat from OSS the last few months due to work. I haven't caught up with bitprohet in a while but I know that he had some events going on his life which meant he had significantly less bandwidth for OSS too.

Whilst this might seem like a simple PR to merge, it is also balancing the ownership of support requests if it negatively impacts others after the release. Which is on bitprophet and the pyinvoke team, not the PR contributor.

The bigger context is that Invoke is coupled with Fabric and Paramiko projects too.

The next highest priority task for all three projects is dropping support for Python 2 and likely < Python 3.6.

https://bitprophet.org/projects/#roadmap

Once we get bandwidth back, that is where we will be focusing our energy.

I realise this is not the response you would be hoping for but that is the reality of why "do nothing" is a deliberate choise for now.

Help on the open PR to drop Python 2 would be appreciated to make it easier to drop these bugs with a smaller test matrix.
#856

@akettmann-e24

akettmann-e24 commented Aug 11, 2022 •

Copy link
Copy Markdown

I realise this is not the response you would be hoping for but that is the reality of why "do nothing" is a deliberate choise for now.

Definitely not what I WANTED, but you have brought me the gift of context, and I appreciate that a lot!

Help on the open PR to drop Python 2 would be appreciated to make it easier to drop these bugs with a smaller test matrix. #856

I will see if I can get some time carved out to help while I am working, see if there is anything I can help with. Last time I touched Paramiko, I .... really didn't want to anymore, but shells and ssh are complicated, so a lot of it is unavoidable.

If I can't get some time to help contribute, I will push on maybe we (my work) can contribute to the project via Tidelift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants