Reusing mature software packages that have been developed repeatedly can greatly enhance the efficiency and quality of software development. However, with the rapidly growing number of software packages, developers are facing the challenge on technology choices. In this context, software recommendation plays a crucial role in software development. While conventional recommendation models can be applied to software recommendation, regrading to the unique characteristics of software development, there still remains three challenges: 1) developers' interests are gradually evolving, 2) developer are influenced by their friends, and 3) software packages are influenced by their dependency. Notably, the social influences are dynamic and the dependency influences are attentive. That is, developers may trust different sets of friends at different times and different dependency exhibits different importance. In this paper, we propose a novel software recommendation model, named as Session-based Social and Dependence-aware Recommendation (SSDRec). It integrates recurrent neural network (RNN) and graph attention network (GAT) into a unified framework. This model employs RNN on short session-based data to model developers' evolving interests. In addition, we extend GAT to Social-Dependency-GAT (SD-GAT) for modeling both dynamic social influences and attentive dependency influences. Extensive experiments are conducted on real-world datasets and the results demonstrate the advantages of our model over state-of-the-art methods for modeling developers' evolving interests and the two influences.