Skip to main content

No project description provided

Project description

offetestci

Paquete de prueba para validar el flujo completo de CI y publicación automática a PyPI vía GitHub Actions (trusted publishing, sin tokens). No tiene funcionalidad real; existe solo para comprobar que el pipeline funciona de principio a fin.

Publicación a PyPI — registro previo (importante)

El workflow de publicación (.github/workflows/publish.yml) sube el paquete usando trusted publishing: GitHub se autentica ante PyPI con un token OIDC temporal, sin guardar ningún secreto en el repo.

Para que eso funcione, PyPI tiene que confiar en este repo de antemano. Como el paquete aún no existe en PyPI, se registra como pending publisher:

  1. Entra en pypi.org (con 2FA activado).

  2. Ve a los ajustes de tu cuenta → Publishing (no dentro de un proyecto, sino en la cuenta).

  3. Añade un pending publisher de tipo GitHub con estos datos exactos:

    Campo Valor
    PyPI Project Name offetestci
    Owner offerrall
    Repository name offetestci
    Workflow name publish.yml
    Environment (vacío)
  4. Guarda.

El error típico: "Workflow name" es el nombre del fichero (publish.yml), no el name: que pone dentro del YAML. Si pones el de dentro, PyPI rechaza la publicación con un error poco claro.

Una vez registrado, la primera publicación crea el proyecto en PyPI y establece el trusted publisher de golpe.

Publicar

  1. Sube la versión en src/offetestci/__init__.py.
  2. En GitHub → Releases → crea un release con su tag (ej. v0.1.0).
  3. El workflow publish.yml se dispara solo: verifica, construye y sube.

Tras el registro previo, todo el flujo es desde GitHub — sin tokens, sin publicar desde tu máquina.

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

offetestci-0.3.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

offetestci-0.3.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file offetestci-0.3.0.tar.gz.

File metadata

  • Download URL: offetestci-0.3.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for offetestci-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0141ae926a027b31d80bfabca00f2008c85b96ca4f0d20a1ab8034bc41816d94
MD5 54af0a10561f10004ddca66e84f5638a
BLAKE2b-256 9b07755b721324ffec39a47091db768eb623bca9a2c46acb8a65c04621e15553

See more details on using hashes here.

Provenance

The following attestation bundles were made for offetestci-0.3.0.tar.gz:

Publisher: publish.yml on offerrall/offetestci

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

File details

Details for the file offetestci-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: offetestci-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for offetestci-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b196356adc2daa04c65d3877452be85d3496afe27763db3ce14ae3ab5f72628
MD5 520ce1bf55d5ec9f759d257f5d20add0
BLAKE2b-256 8527638cb5ff7f9f0b408819cf26a55dcd258c40bf12492bd2fe4a54e193d956

See more details on using hashes here.

Provenance

The following attestation bundles were made for offetestci-0.3.0-py3-none-any.whl:

Publisher: publish.yml on offerrall/offetestci

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