1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Merge pull request #786 from octodns/requirements-and-release-updates

Requirements and release process updates
This commit is contained in:
Ross McFarland
2021-09-29 07:33:00 -07:00
committed by GitHub
5 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
build==0.7.0
coverage
mock
nose
@@ -7,7 +8,7 @@ pycodestyle==2.6.0
pyflakes==2.2.0
readme_renderer[md]==26.0
requests_mock
twine==3.2.0; python_version >= '3.2'
twine==3.4.2
# Profiling tests...
# nose-cprof

View File

@@ -10,10 +10,8 @@ docutils==0.16
dyn==1.8.1
edgegrid-python==1.1.1
fqdn==1.5.0
futures==3.2.0; python_version < '3.2'
google-cloud-core==1.4.1
google-cloud-dns==0.32.0
ipaddress==1.0.23; python_version < '3.3'
jmespath==0.10.0
msrestazure==0.6.4
natsort==6.2.1

7
script/changelog Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -e
VERSION=v$(grep __VERSION__ octodns/__init__.py | sed -e "s/^[^']*'//" -e "s/'$//")
echo $VERSION
git log --pretty="%h - %cr - %s (%an)" "${VERSION}..HEAD"

View File

@@ -21,7 +21,7 @@ VERSION="$(grep __VERSION__ "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e
git tag -s "v$VERSION" -m "Release $VERSION"
git push origin "v$VERSION"
echo "Tagged and pushed v$VERSION"
python setup.py sdist
twine check dist/*$VERSION.tar.gz
twine upload dist/*$VERSION.tar.gz
python -m build --sdist --wheel
twine check dist/*$VERSION.tar.gz dist/*$VERSION*.whl
twine upload dist/*$VERSION.tar.gz dist/*$VERSION*.whl
echo "Uploaded $VERSION"

View File

@@ -68,9 +68,7 @@ setup(
install_requires=[
'PyYaml>=4.2b1',
'dnspython>=1.15.0',
'futures>=3.2.0; python_version<"3.2"',
'fqdn>=1.5.0',
'ipaddress>=1.0.22; python_version<"3.3"',
'natsort>=5.5.0',
'pycountry>=19.8.18',
'pycountry-convert>=0.7.2',