Browse Source

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

Requirements and release process updates
pull/790/head
Ross McFarland 4 years ago
committed by GitHub
parent
commit
29186da021
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 8 deletions
  1. +2
    -1
      requirements-dev.txt
  2. +0
    -2
      requirements.txt
  3. +7
    -0
      script/changelog
  4. +3
    -3
      script/release
  5. +0
    -2
      setup.py

+ 2
- 1
requirements-dev.txt View File

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


+ 0
- 2
requirements.txt View File

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


+ 7
- 0
script/changelog 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"

+ 3
- 3
script/release 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 tag -s "v$VERSION" -m "Release $VERSION"
git push origin "v$VERSION" git push origin "v$VERSION"
echo "Tagged and pushed 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" echo "Uploaded $VERSION"

+ 0
- 2
setup.py View File

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


Loading…
Cancel
Save