Re: [Twisted-Python] Codecov.io security incident

2021-04-16 Thread Kyle Altendorf
On 2021-04-16 14:26, Adi Roiban wrote: I don't know how we can prevent these types of security issues. We are a public project with limited resources and are always exposed when we are pulling dependencies from codecov or pypy that we don't fully control. I guess that what we can do is stop

Re: [Twisted-Python] GitHub Actions parallelism limit increase

2021-04-06 Thread Kyle Altendorf
On 2021-04-01 09:36, Adi Roiban wrote: For example, I don't understand why you need to create an sdist and from sdist to create a wheel and then install that wheel inside tox for each tox test environment. Why not create the wheel once and install the same wheel in all environments. Are yo

Re: [Twisted-Python] GitHub Actions parallelism limit increase

2021-04-06 Thread Kyle Altendorf
On 2021-03-30 17:14, Kyle Altendorf wrote: On 2021-03-30 15:24, Glyph wrote: On Mar 30, 2021, at 7:57 AM, Kyle Altendorf wrote: Hi All, Has anyone contacted GitHub to see if they would be willing to increase the parallelism limit in Actions? My understanding is that we maintain two CI

Re: [Twisted-Python] towncrier releases 19.9.0 and 21.3.0rc1

2021-04-05 Thread Kyle Altendorf
. Cheers, -kyle [0]: https://pypi.org/project/towncrier/19.9.0/ [1]: https://pypi.org/project/towncrier/21.3.0/ [2]: https://github.com/twisted/towncrier/blob/eab34611b93a4ba6e3805cd546a674d88dbd43cf/NEWS.rst On 2021-03-26 09:18, Kyle Altendorf wrote: Hi everyone, I am announcing 2 twisted

Re: [Twisted-Python] GitHub Actions parallelism limit increase

2021-04-01 Thread Kyle Altendorf
On 2021-03-31 05:45, Adi Roiban wrote: On Tue, 30 Mar 2021, 22:23 Kyle Altendorf, wrote: On 2021-03-30 15:24, Glyph wrote: On Mar 30, 2021, at 7:57 AM, Kyle Altendorf wrote: Hi All, Has anyone contacted GitHub to see if they would be willing to increase the parallelism limit in Actions

Re: [Twisted-Python] GitHub Actions parallelism limit increase

2021-03-30 Thread Kyle Altendorf
On 2021-03-30 15:24, Glyph wrote: On Mar 30, 2021, at 7:57 AM, Kyle Altendorf wrote: Hi All, Has anyone contacted GitHub to see if they would be willing to increase the parallelism limit in Actions? My understanding is that we maintain two CI systems (GitHub Actions and Azure Pipelines

[Twisted-Python] GitHub Actions parallelism limit increase

2021-03-30 Thread Kyle Altendorf
Hi All, Has anyone contacted GitHub to see if they would be willing to increase the parallelism limit in Actions? My understanding is that we maintain two CI systems (GitHub Actions and Azure Pipelines) for the sake of more parallelism. While perhaps worthwhile, this doesn't seem fun. Maybe

[Twisted-Python] towncrier releases 19.9.0 and 21.3.0rc1

2021-03-26 Thread Kyle Altendorf
Hi everyone, I am announcing 2 twisted releases. This is a bit more complicated than normal since 19.9.0rc1 was never followed by a non-RC release. You can see a detailed checklist and discussion of this in #313 [0]. Relative to 19.9.0rc1, 19.9.0 contains a few readme fixes and the news fra

Re: [Twisted-Python] Probot app to automatically delete merged branches

2021-03-13 Thread Kyle Altendorf
On 2021-03-13 10:40, Adi Roiban wrote: > On Sat, 13 Mar 2021 at 14:29, Kyle Altendorf wrote: > > On 2021-03-13 08:22, Adi Roiban wrote: > > Hi, > Do you see anything bad in enabling the delete-merged-branch app for > twisted/twisted ? > https://probot.github.io/a

Re: [Twisted-Python] Probot app to automatically delete merged branches

2021-03-13 Thread Kyle Altendorf
On 2021-03-13 08:22, Adi Roiban wrote: > Hi, > > Do you see anything bad in enabling the delete-merged-branch app for > twisted/twisted ? > > https://probot.github.io/apps/delete-merged-branch/ There's a checkbox for this. Unless I'm missing something? https://docs.github.com/en/github/ad

Re: [Twisted-Python] Need help releasing new version of Twisted incremental

2021-03-01 Thread Kyle Altendorf
On 2021-03-01 19:25, Craig Rodrigues wrote: On Mon, Mar 1, 2021 at 3:27 PM Kyle Altendorf wrote: On 2021-03-01 14:13, Craig Rodrigues wrote: On Mon, Mar 1, 2021 at 9:13 AM Colin Watson wrote: Isn't this just because incremental hasn't had a release since 17.5.0? I added pos

Re: [Twisted-Python] Need help releasing new version of Twisted incremental

2021-03-01 Thread Kyle Altendorf
On 2021-03-01 14:13, Craig Rodrigues wrote: On Mon, Mar 1, 2021 at 9:13 AM Colin Watson wrote: Isn't this just because incremental hasn't had a release since 17.5.0? I added post= support way back in https://github.com/twisted/incremental/pull/37, but that was after 17.5.0. Oh wow! You ar

Re: [Twisted-Python] Twisted 21.2.0rc1 Release Candidate Announcement

2021-02-15 Thread Kyle Altendorf
On 2021-02-14 21:53, Craig Rodrigues wrote: > Please test it, and let me know how your applications fare, good or bad! Hi Craig, Thanks for all the work to get us into the next Twisted release. All, I went ahead and set pip_pre=true in pytest-twisted's tox.ini to try it out and got warnings/er

Re: [Twisted-Python] reactor for Linux io_uring

2021-01-05 Thread Kyle Altendorf
On 2021-01-04 10:15, Barry Scott wrote: On Monday, 4 January 2021 04:01:42 GMT Ian Haywood wrote: If people think an IoUringReactor is worthwhile I'll open a ticket and make a start. I'm guessing that you will need to write a Python extension to get at io_uring or use ctypes. Is that what yo

Re: [Twisted-Python] Upcoming Twisted Release

2020-12-27 Thread Kyle Altendorf
On 2020-12-27 18:58, Adi Roiban wrote: > For the future, maybe we can stop doing a release candidate wheel and > instead just announce that a release is coming > and people should test trunk and flag any release blocker ticket. With all the work for automated releasing, isn't it easy to do an R

[Twisted-Python] towncrier review policies and etiquette (and maybe releases too)

2020-10-21 Thread Kyle Altendorf
Where does towncrier stand on review policies and etiquette? I generally don't like to just jump into new projects and start reviewing and merging but I don't see other activity on that front nor do I see any guidance on how it should be done. If I know how to proceed properly then I might de

Re: [Twisted-Python] Request for new Twisted release?

2020-09-28 Thread Kyle Altendorf
e automated > releases for smaller Twisted-org projects as I have time, but Twisted itself > is a bit too tricky for my level of capacity during the end times. > > Kyle Altendorf has done quite a bit of work on this, so let's be sure to > leverage that work and not to star

Re: [Twisted-Python] Black enabled in trunk

2020-09-15 Thread Kyle Altendorf
On 2020-09-14 13:43, Glyph wrote: On Sep 13, 2020, at 11:45 PM, Tom Most wrote: To adjust the formatting: tox -e black-reformat The formatting is checked by a new GitHub Actions lint built. Could we possibly use something like this: https://github.com/cclauss/autoblack to just _do_ the fo

Re: [Twisted-Python] Management of PyPI maintainers (as related to qt5reactor)

2020-07-30 Thread Kyle Altendorf
On 2020-07-30 14:10, Jean-Paul Calderone wrote: On Thu, Jul 30, 2020 at 10:34 AM Kyle Altendorf wrote: Following up on: https://github.com/twisted/qt5reactor/issues/50#issuecomment-658432478 qt5reactor has recently been moved into the Twisted organization on GitHub. The intent is that

[Twisted-Python] Management of PyPI maintainers (as related to qt5reactor)

2020-07-30 Thread Kyle Altendorf
Following up on: https://github.com/twisted/qt5reactor/issues/50#issuecomment-658432478 qt5reactor has recently been moved into the Twisted organization on GitHub. The intent is that being in an org will make it less likely that existing maintainers disappear and the project is stranded with

Re: [Twisted-Python] mypy integrated with CI for twisted

2020-06-24 Thread Kyle Altendorf
On 2020-06-24 00:43, Glyph wrote: > On Jun 23, 2020, at 5:34 AM, Adi Roiban wrote: > > Hi Craig, > > On Tue, 23 Jun 2020 at 00:36, Craig Rodrigues wrote: > I have merged some more fixes for mypy to Twisted trunk branch. > > In trunk, you can run mypy with: > > tox -e mypy > > Currently this res

Re: [Twisted-Python] Pip's Twisted 19.7.0 package is offered to upgrade my v19.2.1...

2019-09-10 Thread Kyle Altendorf
On 2019-09-10 15:14, Ant wrote: Are there any updates on this? I still see this minor issue. :( Sorry, it appears I found time for a ticket and a PR... but not an email. They have been submitted for review. Ticket: https://twistedmatrix.com/trac/ticket/9701 PR: https://github.com/twisted

Re: [Twisted-Python] Pip's Twisted 19.7.0 package is offered to upgrade my v19.2.1...

2019-08-11 Thread Kyle Altendorf
On 2019-08-11 15:31, Ant wrote: Hello. I cannot figure out how to report this minor bug of a minor upgrade issue (https://github.com/twisted/twisted didn't have an issues section) that I noticed since last week: $ pip list --outdated DEPRECATION: Python 3.4 support has b

Re: [Twisted-Python] Azure Pipelines

2019-06-23 Thread Kyle Altendorf
On 2019-06-22 14:05, Amber Brown wrote: On 22/6/19 9:59 am, Kyle Altendorf wrote: Hmm...  I'm running Python inside a build to generate the matrix for that build (with a yaml file for a pipeline).  Now I'm curious what matrixing is being used that isn't supported yet. 

Re: [Twisted-Python] Azure Pipelines

2019-06-21 Thread Kyle Altendorf
;m curious what matrixing is being used that isn't supported yet. But perhaps it isn't worth bothering to work through. Cheers, -kyle On 22/6/19 4:51 am, Kyle Altendorf wrote: On 2019-06-21 12:05, Glyph wrote: On Jun 21, 2019, at 6:39 AM, Jean-Paul Calderone wrote: I can't see an

Re: [Twisted-Python] Azure Pipelines

2019-06-21 Thread Kyle Altendorf
On 2019-06-21 12:05, Glyph wrote: On Jun 21, 2019, at 6:39 AM, Jean-Paul Calderone wrote: I can't see any Azure Pipeline configuration in the repository, I don't see much information on the ticket that (maybe?) introduced Azure Pipeline usage. Once you're logged in, I think you can also see

Re: [Twisted-Python] a farewell to buildbot

2019-03-03 Thread Kyle Altendorf
On 2019-03-03 09:07, Chris Withers wrote: What do you make of CircleCI? I found it mostly pleasant but I'm expecting to be using Azure personally. It's the only one that I've worked with that covers what I think ought to be the basics. Linux/macOS/Windows, CPython 2,7/3.4+ (ok, maybe 3.5+.

Re: [Twisted-Python] trouble installing 18.9.0

2019-02-05 Thread Kyle Altendorf
On 2019-02-05 16:26, Joe Smongeski wrote: I've been trying to install the latest Twisted 18.9.0 with pip install, (using Oracle LInux 7.4), but I'm getting compilation errors. The first one was: src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory #include "Pyt

Re: [Twisted-Python] code coverage when code executed in a twisted worker thread

2018-12-01 Thread Kyle Altendorf
On November 29, 2018 8:10:41 AM EST, Chris Withers wrote: >I've noticed that code coverage doesn't appear to be recorded when code > >is executed in something that has been deferToThread'ed. > >Is this a known issue? Does anyone have an explanation? Are you using coverage.py? I don't know offh

Re: [Twisted-Python] pytest-twisted questions

2018-11-13 Thread Kyle Altendorf
On 2018-11-13 17:37, Chris Withers wrote: On 13/11/2018 20:31, Kyle Altendorf wrote: but I know that I mostly don't have test classes and, for the class I do have, I didn't inherit.  Mostly I just @pytest.inlineCallbacks (I still don't like the namespace squashing into pytest

Re: [Twisted-Python] automated tests for a server application

2018-11-06 Thread Kyle Altendorf
On 2018-11-06 11:28, Chris Withers wrote: On 06/11/2018 12:14, Kyle Altendorf wrote: On November 6, 2018 6:41:23 AM EST, Chris Withers wrote: Cool, do you have any example tests that do this? Interesting, looks like pytest-twisted does away for the need for this by showing how to

Re: [Twisted-Python] Mixing async/await and asyncio

2018-09-19 Thread Kyle Altendorf
On September 19, 2018 8:50:41 AM EDT, "whalebot.helms...@gmail.com" wrote: >I want to learn how to use twisted together with asyncio. I create >several files to describe my problem >https://gist.github.com/whalebot-helmsman/c400eb66c0bd35e406de3f8f704adf13: > >- I can use pure asyncio for sim

Re: [Twisted-Python] T9217 / PR1052: Wheels, wheels, and more wheels

2018-09-07 Thread Kyle Altendorf
On 2018-09-07 01:58, Glyph wrote: On Sep 5, 2018, at 5:44 AM, Kyle Altendorf wrote: On 2018-09-05 03:25, Glyph wrote: On Aug 29, 2018, at 10:13 AM, Kyle Altendorf wrote: wheel links: https://github.com/twisted/twisted/pull/1051#issuecomment-416743261 (and next comment) Now that I've go

Re: [Twisted-Python] T9217 / PR1052: Wheels, wheels, and more wheels

2018-09-05 Thread Kyle Altendorf
On 2018-09-05 03:25, Glyph wrote: On Aug 29, 2018, at 10:13 AM, Kyle Altendorf wrote: wheel links: https://github.com/twisted/twisted/pull/1051#issuecomment-416743261 (and next comment) Now that I've got the wheel builds happening I figured it'd be good to try them out on '

[Twisted-Python] T9217 / PR1052: Wheels, wheels, and more wheels

2018-08-29 Thread Kyle Altendorf
Hi All, I am working on ticket #9217 / PR #1051 to add lots more wheel generation to the Twisted CI. I decided to give the cibuildwheel package a try and it made this process almost too easy (well... sort of :] ). I've got AppVeyor-Windows, Travis-Linux, and Circle-OSX all building a variet