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.1.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.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: offetestci-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 f0b54c227c4f32518861c535f69fe6164d5193918f210500ca4a7f1e17bf5e6f
MD5 3d0f845300262e2f5287c24560b2eff0
BLAKE2b-256 18b40c1cca5abdb9f7a31aa0b7a5dbfc7f63b2113c1a5fbf3ce544828491f9fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for offetestci-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: offetestci-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c4cab5a9012f8a52391294aee770337a8cc09161a1a8b9f110987a8f66a17f8
MD5 ae9a25d4ba71bc4a1c95a70f404d862d
BLAKE2b-256 fac9560673275af5ebf7d0250053b628308f001848f3503dce64c44d4376f6d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for offetestci-0.1.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