Skip to main content

AVA Integration Metapackage

PARA USO APENAS no IFRN, USE apenas neste sentido.

Project : License pre-commit Docs

Publish: Publish Python Docker

Meta-pacote Python 3.14 que agrega todas as dependências necessárias para projetos Django 6.0 do ecossistema AVA do IFRN(Integrador AVA, Painel AVA, Gestor AVA e Leitor EaD).

📦 O que é um metapackage?

Um metapackage é um pacote Python que não contém código próprio, mas declara um conjunto de dependências. Ao instalar o metapackage, todas as suas dependências são instaladas automaticamente, garantindo:

  • Versionamento unificado de dependências entre projetos
  • Consistência entre ambientes de desenvolvimento, teste e produção
  • Simplificação do gerenciamento de dependências
  • Sincronização automática via imagem Docker base

Tecnologias

Django Python PostgreSQL Redis Docker Gunicorn Sentry

Olhe o arquivo setup.py, atributo install_requires, para conhecer as demais bibliotecas.

🚀 Instalação

Via PyPI

pip install avaintegration_metapackage

Via Docker

A imagem Docker base já inclui o metapackage instalado:

FROM ctezlifrn/avaintegrationbase:6.0.5.32

🔄 Workflow de CI/CD

# 1. Atualize a versão no setup.py (será sobrescrita pela tag)
# 2. Crie e envie a tag
git tag 6.0.4.13
git push origin 6.0.4.13

# 3. O GitHub Action irá:
#    - Atualizar setup.py com a versão da tag
#    - Publicar no PyPI
#    - Aguardar 60s para propagação
#    - Construir imagem Docker instalando o pacote do PyPI
#    - Publicar imagem no Docker Hub

Secrets necessários no GitHub

Configure os seguintes secrets no repositório:

  • PYPI_API_TOKEN - Token de API do PyPI
  • DOCKERHUB_USERNAME - Usuário do Docker Hub
  • DOCKERHUB_TOKEN - Token de acesso do Docker Hub

🛠️ Desenvolvimento

Estrutura do projeto

metapackage/
├── .github/
│   ├── docker/
│   │   └── Dockerfile          # Dockerfile para imagem base
│   └── workflows/
│       └── publish-pypi-and-docker.yml
├── avaintegration_metapackage/
│   └── __init__.py             # Versão do pacote
├── setup.py                    # Configuração e dependências
├── Dockerfile                  # Dockerfile de desenvolvimento
└── README.md

Atualizando dependências

  1. Edite setup.py e ajuste as versões em install_requires
  2. Teste localmente:
    pip install -e .
    
  3. Faça commit e crie uma nova tag

Testando localmente

# Build do pacote
python -m build

# Instalação local
pip install dist/avaintegration_metapackage-*.whl

# Teste da imagem Docker
docker build -t avaintegrationbase:test -f .github/docker/Dockerfile \
  --build-arg PACKAGE_VERSION=6.0.5.32 .

🤝 Contribuindo

Contribuições são bem-vindas! Por favor:

  1. Crie um fork do projeto
  2. Crie uma branch para sua feature (git checkout -b feature/nova-dependencia)
  3. Commit suas mudanças (git commit -am 'Adiciona nova dependência X')
  4. Push para a branch (git push origin feature/nova-dependencia)
  5. Abra um Pull Request

📞 Suporte

Para questões ou problemas, abra uma issue no repositório do projeto.


Mantido por: IFRN - Diretoria de Educação a Distância (DEAD)

Download files

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

Source Distribution

avaintegration_metapackage-6.0.5.35.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

avaintegration_metapackage-6.0.5.35-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file avaintegration_metapackage-6.0.5.35.tar.gz.

File metadata

File hashes

Hashes for avaintegration_metapackage-6.0.5.35.tar.gz
Algorithm Hash digest
SHA256 364e188544506e3deabe07219e2f238903afaef984711460386956d9ec30bd76
MD5 c8d44eedfb0491bfc1cec6eb8529d413
BLAKE2b-256 a9a451da67c8eb6646c6e4475ef04d2b1f05b16d57d930574c9c4c385ea9ae58

See more details on using hashes here.

Provenance

The following attestation bundles were made for avaintegration_metapackage-6.0.5.35.tar.gz:

Publisher: publish.yml on suap-ava-suite/pypkg-avaintegration_metapackage

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

File details

Details for the file avaintegration_metapackage-6.0.5.35-py3-none-any.whl.

File metadata

File hashes

Hashes for avaintegration_metapackage-6.0.5.35-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea19f5499f80f1de1b47cc7f0eb9c24d50f0a262986d4d947f479c9209900cf
MD5 d690d92f11c05a5efec4867487e28eaa
BLAKE2b-256 4a0f6ebd1a4d2ffa27f865c64b62a02d2a0f1743c71cdded9c8d14bd6b0c0c61

See more details on using hashes here.

Provenance

The following attestation bundles were made for avaintegration_metapackage-6.0.5.35-py3-none-any.whl:

Publisher: publish.yml on suap-ava-suite/pypkg-avaintegration_metapackage

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

Release history Release notifications | RSS feed

6.0.8.44

2 files

6.0.8.43

2 files

6.0.8.42

2 files

6.0.8.41

2 files

6.0.8.40

2 files

6.0.8.39

2 files

6.0.8.38

2 files

6.0.5.37

2 files

6.0.5.36

2 files

This release

6.0.5.35 This release

2 files

6.0.5.34

2 files

6.0.5.33

2 files

6.0.5.32

2 files

6.0.5.31

2 files

6.0.5.30

2 files

6.0.5.29

2 files

6.0.5.28

2 files

6.0.4.13

2 files

6.0.4.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page