Skip to main content

A Pretix event person forwarder functionality

Project description

Pretix Event Person Forwarder

Contribution

If you would like to contribute something, have an improvement request, or want to make a change inside the code, please open a pull request.

Support

If you need support, or you encounter a bug, please don't hesitate to open an issue.

Donations

If you want to support my work, I ask you to take an unusual action inside the open source community. Donate the money to a non-profit organization like Doctors Without Borders or the Children's Cancer Aid. I will continue to build tools because I like them, and I am passionate about developing and sharing applications.

License

This product is available under the Apache 2.0 license.

Integration Tests

Integration tests require a running Pretix instance with HTTPS. The easiest way to set one up locally is via pretix-docker-compose, checked out as a sibling directory (../pretix-docker-compose).

Quick Setup

Run the setup script to generate certificates, start Docker, and create test data:

chmod +x scripts/setup-integration-tests.sh
./scripts/setup-integration-tests.sh

The script prints the exact export commands to run before executing the tests.

Environment Variables

Variable Description Default
PRETIX_HOST URL of the Pretix API https://localhost
PRETIX_TOKEN API token for the test user required
PRETIX_CA_BUNDLE Path to test CA certificate SSL verification skipped if unset

Troubleshooting

SSL: CERTIFICATE_VERIFY_FAILED — Verify PRETIX_CA_BUNDLE is exported, points to an absolute path, and the file is readable.

Connection Refused — Check that containers are running (docker compose ps) and port 443 is available. Inspect logs with docker compose logs -f pretix_app.

Organizer not found — Rerun the setup script or manually execute docker exec -i pretix_app pretix shell < tests/integrationtest/setup_testdata.py and check for errors.

Subject Alternative Name does not match — Regenerate certificates. Verify SANs with:

openssl x509 -in ../pretix-docker-compose/docker/pretix/files/config/ssl/domain.crt \
  -text -noout | grep -A1 "Subject Alternative Name"

Cleanup

cd ../pretix-docker-compose
docker compose down          # stop containers
docker compose down -v       # stop and remove volumes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix_event_person_forwarder-1.0.0.tar.gz (147.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pretix_event_person_forwarder-1.0.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file pretix_event_person_forwarder-1.0.0.tar.gz.

File metadata

File hashes

Hashes for pretix_event_person_forwarder-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bd7c37f1c32dc4d39c640f79392939dd756d1f691271384151948dca2e247c80
MD5 95acbc4e25234870e51ac1ab47db7d41
BLAKE2b-256 15fd027b149c38f06e35ebf17e793b650bdad7dddaa75d095fc2928a27148a8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pretix_event_person_forwarder-1.0.0.tar.gz:

Publisher: release.yml on ZPascal/pretix-event-person-forwarder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pretix_event_person_forwarder-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_event_person_forwarder-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb7c19f42c0642c91ccf796188c66c6c59869841e05ab915df8850a1f56f4839
MD5 a9d6c98ccae8d90353d6ddfa9b6e97b1
BLAKE2b-256 f070e4d98f9279846719573fdeafc3bdb2e34972b7d9338d034eea44bffa1ed0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pretix_event_person_forwarder-1.0.0-py3-none-any.whl:

Publisher: release.yml on ZPascal/pretix-event-person-forwarder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page