Commit Graph

91 Commits

Author SHA1 Message Date
Gavin M. Roy c39b1ff6c0
Merge pull request #14 from dave-shawley/quiet-now
Remove debug logging of "processing metric"
2023-07-28 11:17:27 -04:00
Dave Shawley b5f3f8c96d
Update action versions in build workflow 2023-07-28 09:38:26 -04:00
Dave Shawley 9a0cd26578
Stop ignoring .github 2023-07-28 09:38:12 -04:00
dave-shawley 85f3346ed2
Update run-tests.yml
Update action versions
2023-07-28 09:26:50 -04:00
Dave Shawley 81128b8d54
Style fix in docs/conf.py 2023-07-28 09:14:26 -04:00
Dave Shawley 672c7f9670
Update sphinx & RTD 2023-07-28 08:07:17 -04:00
Dave Shawley 62e2057884
Update tox.ini to work with 3.11 as a base
Tornado 5 does not work under Python 3.11 so we need an explicit base
python version.
2023-07-28 07:36:09 -04:00
Dave Shawley 44baf2e025
Update coverage version
Python 3.11 made some AST-related changes that breaks branch detection
in older versions.
2023-07-28 07:35:06 -04:00
Dave Shawley d930012b7e
Bump license date 2023-07-27 09:20:06 -04:00
Dave Shawley b64cd0cbde
Stop testing 3.7, add 3.11
This removes our reliance on asynctest and reduces the maintenance
burden slightly.  We still support 3.7, just removing explicit testing
of it.
2023-07-27 09:17:38 -04:00
Dave Shawley a63733dcad
Remove debug log of "processing metric"
This is just way too noisy and provides zero value.
2023-07-27 08:32:03 -04:00
Dave Shawley 76399b9a02
Fix ReadTheDocs build.
oops
2021-07-21 12:35:38 -04:00
dave-shawley 310e975ad5
Merge pull request #10 from dave-shawley/fix-build
Fix build
2021-07-21 12:30:49 -04:00
Dave Shawley d0b860edc0
Improve the GitHub test phase.
I incorporated the changes in tox.ini into the automated test workflow
so that we do not end up tagging a broken build :/
2021-07-21 12:27:33 -04:00
Dave Shawley 589412693e
Stop using generic typing for asyncio.Queue.
This feature isn't available in all versions of Python.
2021-07-21 12:23:53 -04:00
Dave Shawley 10d95519a3
Format setup.py with yapf. 2021-07-21 12:23:34 -04:00
Dave Shawley 85b1b98295
Fix distribution upload breakage.
The upload phase now fails if there is anything unexpected in the long
description such as uninterpreted roles (e.g., `:class:`).  The ReST
specifications does call out that:

> Only pre-determined roles are recognized; unknown roles will
> generate errors.

I added a distcheck job in the tox.ini to make this easier to catch in
the future.
2021-07-21 12:17:28 -04:00
Dave Shawley 288e0275ac
1.0.0: Add Timer abstraction. 2021-07-20 17:38:59 -04:00
Dave Shawley 7793a189a0
Fix issue extlinks configuration. 2021-07-20 17:38:37 -04:00
Dave Shawley 9054c729f5
Add some missing typing.
This doesn't completely appease pyright & mypy since I insist on calling
the sprockets.http.Application methods when guarded by isinstance()
checks.
2021-07-20 17:35:13 -04:00
Andrew Rabert a47f121f6d
Merge pull request #9 from dave-shawley/support-timer
Add support for python-statsd alike timer method.
2021-07-20 10:22:25 -04:00
Dave Shawley 3b9b9ccb2f
Make sonar a little happier.
I really should have commented the `pass` lines...
2021-07-18 12:06:35 -04:00
Dave Shawley 65745010ad
Add datetime.timedelta support to `timing`. 2021-07-18 11:57:38 -04:00
Dave Shawley 1c6ba8f80e
Implement the python-statsd Timer interface. 2021-07-18 11:56:49 -04:00
Dave Shawley 3f0f46cd6d
Bump from Beta to Production.
I've been running this in production for a few months now without issue
so I'm calling it production ready.
2021-07-18 11:26:34 -04:00
Dave Shawley 2d0b20054c
Update dev toolchain. 2021-07-18 11:26:34 -04:00
Dave Shawley 75bb621784
Add Connector.timer.
This improves compatibility with python-statsd.
2021-07-18 11:26:34 -04:00
Dave Shawley 3291306305 0.1.0: Ready for beta. 2021-05-10 10:45:30 -04:00
Gavin M. Roy 0fbff9e19c
Merge pull request #7 from dave-shawley/sprockets-http
Detect sprockets.http and make use of it.
2021-05-10 10:24:33 -04:00
Dave Shawley c7a3a834c0
Remove explicit sonar scan of PR.
I cannot for the life of me figure out how to get the sonar token to be
available in the PR.  Setting it in the project doesn't work for PRs
since tokens are not available to PRs run from forks.  Setting it in my
fork didn't work either.  It is available via codecov so /shrug
2021-05-10 07:47:56 -04:00
Dave Shawley ea97d07341
Switch to manual sonarqube analysis.
AFAICT the automatic analysis does not wait for coverage reports to be
generated.
2021-05-10 07:22:18 -04:00
Dave Shawley 89d20a5f89
Remove unused variable in test. 2021-05-10 06:45:19 -04:00
Dave Shawley ed67689fe2
Limit logging when disconnected.
Instead of logging a warning every time that the connection fails, only
log the first 100 of them, then log every 100th time thereafter.
2021-05-09 16:21:34 -04:00
Dave Shawley a48453b70e
Add compatibility with sprockets.http. 2021-05-09 16:21:34 -04:00
Andrew Rabert b823d3a521
Merge pull request #6 from dave-shawley/add-disable
Add $STATSD_ENABLED
2021-05-06 15:51:02 -04:00
Dave Shawley 235c7bde3c
Add support for disabling tornado connector. 2021-04-12 08:08:07 -04:00
Dave Shawley a2695e4d1a
Enable badges. 2021-04-09 19:07:27 -04:00
Dave Shawley 5242245191 0.0.1: First alpha release 2021-04-08 11:51:40 -04:00
dave-shawley cfd166c667
Merge pull request #4 from dave-shawley/release-time
Release time
2021-04-08 11:24:39 -04:00
Dave Shawley 6835e0fd2d
0.0.1: Trying out the release pipeline! 2021-04-08 08:12:48 -04:00
Dave Shawley ea8d2363fe
Add build.yml
Roughly based on what @gmr did in sprockets-postgres... still not sure
if the explicit `if` guard is necessary.
2021-04-08 08:11:36 -04:00
Dave Shawley f51870b2f9
Add minimal pyproject.toml.
cuz Tim Peters said so
2021-04-08 07:58:03 -04:00
Dave Shawley 2fb3646f0d
Changes recommended by twine and pypi.
Interestingly enough twine check does not seem to check classifiers for
correctness ... testpypi rejected my first upload :(
2021-04-08 07:56:40 -04:00
Dave Shawley 3a5196e68b
Add typing markers. 2021-04-08 07:26:14 -04:00
dave-shawley 6832ea8ee2
Update run-tests.yml
Guess that I don't need to do this explicitly ... who knew?!
2021-04-07 08:02:13 -04:00
dave-shawley d7b4fc568b
Update run-tests.yml
Hopefully fix the `if` condition for sonar analysis
2021-04-07 07:55:43 -04:00
dave-shawley a28f984c84
Merge pull request #3 from dave-shawley/add-sonar
Add sonarqube analysis
2021-04-07 07:50:16 -04:00
Dave Shawley e35f903744
Update sonar upload to only run on main. 2021-04-07 07:44:04 -04:00
Dave Shawley 27c357f14a
Fix workflow syntax error... hopefully 2021-04-07 07:35:03 -04:00
Dave Shawley 4986aa2868
Add more detail in sonar-project.properties. 2021-04-07 07:29:45 -04:00