| Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
The sentry dsn is now in forms-backend-env instead
|
|
Poetry 1.2 introduced a regression which broke pip `--user` installs.
These types of install were the main way we did installations in docker
and CI, as they made it much more convenient to control the location,
availability, and caching of packages.
Poetry's team does not recognize this as a supported use case, so major
changes were required to get everything working again. Most of the
changes were consolidated into chrislovering/python-poetry-base for
docker, and HassanAbouelela/setup-python for CI.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Bumps [spectree](https://github.com/0b01001001/spectree) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/0b01001001/spectree/releases)
- [Commits](https://github.com/0b01001001/spectree/compare/v0.10.4...v0.10.5)
---
updated-dependencies:
- dependency-name: spectree
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.9.2...1.9.3)
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/5.0.3...5.0.4)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.9.0 to 1.9.2.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.9.0...1.9.2)
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
|
|
|
|
Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/5.0.2...5.0.3)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [spectree](https://github.com/0b01001001/spectree) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/0b01001001/spectree/releases)
- [Commits](https://github.com/0b01001001/spectree/compare/v0.10.3...v0.10.4)
---
updated-dependencies:
- dependency-name: spectree
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.2.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [flake8-annotations](https://github.com/sco1/flake8-annotations) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/sco1/flake8-annotations/releases)
- [Changelog](https://github.com/sco1/flake8-annotations/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sco1/flake8-annotations/compare/v2.9.0...v2.9.1)
---
updated-dependencies:
- dependency-name: flake8-annotations
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v0.19.2...v0.20.0)
---
updated-dependencies:
- dependency-name: python-dotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [spectree](https://github.com/0b01001001/spectree) from 0.7.6 to 0.10.3.
- [Release notes](https://github.com/0b01001001/spectree/releases)
- [Commits](https://github.com/0b01001001/spectree/compare/v0.7.6...v0.10.3)
---
updated-dependencies:
- dependency-name: spectree
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.17.6 to 0.18.2.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.17.6...0.18.2)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [starlette](https://github.com/encode/starlette) from 0.19.0 to 0.20.4.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](https://github.com/encode/starlette/compare/0.19.0...0.20.4)
---
updated-dependencies:
- dependency-name: starlette
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.7.2 to 1.9.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.7.2...1.9.0)
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Isolates the global variables in the unittest template into a function,
to prevent them from being imported.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
The old testing code only checks the first character of the stdout,
meaning that if a user succeeds in printing a 1 before the rest of the
output, the testing code will consider that a pass and discard the rest.
This change checks that the rest of the stdout is empty as expected.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
The codejam test suite uses async functions, which would be annoying to
deal with in our current template. Switching to async makes that
available to those who want it, without affecting those who don't.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Adds the setup method as a special method for unittest question types.
Additionally, a couple QoL fixes are included. I changed `unit` to
`self` to clarify what it actually is, and I changed an `lstrip` to a
`removeprefix` to avoid removing unintentional portions of the name
(for instance `something` -> `omething`)
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
Co-authored-by: Hassan Abouelela <[email protected]>
|
|
Adds a non-discoverable login form in all environments to make it easier
to authenticate. Ideally, we'd have an actual login button, but this is
an easy solution in the meantime.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
Fixes an error where accessing a form without having the proper
authorization would cause an unexpected state and raise a 500.
Closes #175.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Bumps [httpx](https://github.com/encode/httpx) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.22.0...0.23.0)
---
updated-dependencies:
- dependency-name: httpx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0)
---
updated-dependencies:
- dependency-name: pyjwt
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Co-authored-by: Kieran Siek <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.5.4...1.5.7)
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [flake8](https://github.com/pycqa/flake8) from 3.9.2 to 4.0.1.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/3.9.2...4.0.1)
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [spectree](https://github.com/0b01001001/spectree) from 0.7.2 to 0.7.6.
- [Release notes](https://github.com/0b01001001/spectree/releases)
- [Commits](https://github.com/0b01001001/spectree/compare/v0.7.2...v0.7.6)
---
updated-dependencies:
- dependency-name: spectree
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [starlette](https://github.com/encode/starlette) from 0.14.2 to 0.19.0.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](https://github.com/encode/starlette/compare/0.14.2...0.19.0)
---
updated-dependencies:
- dependency-name: starlette
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.17.4 to 0.17.6.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.17.4...0.17.6)
---
updated-dependencies:
- dependency-name: uvicorn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
|
|
Change the exception handler in the unittest template to handle
BaseExceptions that don't inherit from Exception. Additionally, account
for user invoked system exits.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Patching just `sys.stdout` allowed users to still access stdout via
`sys.__stdout__`. The same was true for stderr. Both have been
explicitly patched now.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
Signed-off-by: Hassan Abouelela <[email protected]>
|