Skip to content

Commit

Permalink
chore: rename repo (#6)
Browse files Browse the repository at this point in the history
* chore: rename repo

* update ci

* update readme
  • Loading branch information
tlambert03 authored Sep 26, 2023
1 parent 06629e3 commit 36d0b42
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ jobs:
if: success() && startsWith(github.ref, 'refs/tags/') && github.event_name != 'schedule'
runs-on: ubuntu-latest

permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -83,17 +87,13 @@ jobs:

- name: install
run: |
git tag
pip install -U pip build twine
python -m pip install build
python -m build
twine check dist/*
- name: Build and publish
run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
- name: 🚢 Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

- uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: './dist/*'
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
user=tlambert03
user=pyapp-kit
project=pydantic-compat
issues=false
exclude-labels=duplicate,question,invalid,wontfix,hide
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# pydantic-compat

[![GitHub](https://img.shields.io/github/license/tlambert03/pydantic-compat)
](https://github.com/tlambert03/pydantic-compat/raw/main/LICENSE)
[![GitHub](https://img.shields.io/github/license/pyapp-kit/pydantic-compat)
](https://github.com/pyapp-kit/pydantic-compat/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/pydantic-compat.svg?color=green)](https://pypi.org/project/pydantic-compat)
[![Python Version](https://img.shields.io/pypi/pyversions/pydantic-compat.svg?color=green)](https://python.org)
[![CI](https://github.com/tlambert03/pydantic-compat/actions/workflows/ci.yml/badge.svg)](https://github.com/tlambert03/pydantic-compat/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/tlambert03/pydantic-compat/branch/main/graph/badge.svg)](https://codecov.io/gh/tlambert03/pydantic-compat)
[![CI](https://github.com/pyapp-kit/pydantic-compat/actions/workflows/ci.yml/badge.svg)](https://github.com/pyapp-kit/pydantic-compat/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/pyapp-kit/pydantic-compat/branch/main/graph/badge.svg)](https://codecov.io/gh/pyapp-kit/pydantic-compat)

## Motivation

Expand All @@ -23,7 +23,7 @@ regardless of the pydantic version installed. (Prefer using v2 names when possib
Tests are run on Pydantic v1.8 and up

The API conversion is not exhaustive, but suffices for many of the use cases
I have come across. I will be using it in:
I have come across. It is in use by the following libraries:

- [ome-types](https://github.com/tlambert03/ome-types)
- [psygnal](https://github.com/pyapp-kit/psygnal)
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Pydantic",
"Typing :: Typed",
]
dynamic = ["version"]
dependencies = ["pydantic", "importlib_metadata; python_version<'3.8'"]
Expand Down Expand Up @@ -72,8 +74,8 @@ dev = [
]

[project.urls]
homepage = "https://github.com/tlambert03/pydantic-compat"
repository = "https://github.com/tlambert03/pydantic-compat"
homepage = "https://github.com/pyapp-kit/pydantic-compat"
repository = "https://github.com/pyapp-kit/pydantic-compat"

# https://hatch.pypa.io/latest/config/metadata/
[tool.hatch.version]
Expand Down

0 comments on commit 36d0b42

Please sign in to comment.